diff options
author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-01 13:40:11 +0200 |
---|---|---|
committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-01 13:40:11 +0200 |
commit | 25eb08da85dcc643f70a39ebbe26427f30a12958 (patch) | |
tree | 66b54b6320a3a9eff11f36d39a5d9bb9542db2f2 /id/server/idserverlib/src | |
parent | 52e925877285294547440dfeee40f9a3bd2a047b (diff) | |
download | moa-id-spss-25eb08da85dcc643f70a39ebbe26427f30a12958.tar.gz moa-id-spss-25eb08da85dcc643f70a39ebbe26427f30a12958.tar.bz2 moa-id-spss-25eb08da85dcc643f70a39ebbe26427f30a12958.zip |
availability check log update
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/STORKProtocol.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/STORKProtocol.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/STORKProtocol.java index e8c9c2a24..00f919c82 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/STORKProtocol.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/STORKProtocol.java @@ -73,9 +73,11 @@ public class STORKProtocol implements IModulInfo, MOAIDAuthConstants { try { decSamlToken = PEPSUtil.decodeSAMLToken(request.getParameter("SAMLRequest")); } catch (NullPointerException e) { - Logger.error("Unable to retrieve STORK Request for host: " + request.getRemoteHost() + " and URI: " + request.getRequestURI(), e); - - + if (request.getRemoteHost().contains("129.27.142")) { + Logger.warn("Availability check by " + request.getRemoteHost() + " on URI: " + request.getRequestURI()); + } else { + Logger.error("Unable to retrieve STORK Request for host: " + request.getRemoteHost() + " and URI: " + request.getRequestURI(), e); + } throw new MOAIDException("stork.04", null); } |