From d87ebfc442828e191db392b2c4364842713b8448 Mon Sep 17 00:00:00 2001 From: Bojan Suzic Date: Tue, 1 Apr 2014 13:09:02 +0200 Subject: logging change --- .../java/at/gv/egovernment/moa/id/protocols/stork2/STORKProtocol.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 5b844580d..e8c9c2a24 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,7 +73,9 @@ public class STORKProtocol implements IModulInfo, MOAIDAuthConstants { try { decSamlToken = PEPSUtil.decodeSAMLToken(request.getParameter("SAMLRequest")); } catch (NullPointerException e) { - Logger.error("Unable to retrieve STORK Request", e); + Logger.error("Unable to retrieve STORK Request for host: " + request.getRemoteHost() + " and URI: " + request.getRequestURI(), e); + + throw new MOAIDException("stork.04", null); } -- cgit v1.2.3