From 55dec20f9fbf793f9c54cc03388c8e79ad4e9b8a Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 25 Mar 2014 15:01:52 +0100 Subject: log full PVP2.1 request if preProcess failed --- .../at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java index 2b9e72782..e81b23d41 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java @@ -252,8 +252,10 @@ public class PVP2XProtocol implements IModulInfo, MOAIDAuthConstants { } catch (PVP2Exception e) { throw e; - } catch (Throwable e) { - e.printStackTrace(); + } catch (Throwable e) { + String samlRequest = request.getParameter("SAMLRequest"); + Logger.warn("Receive INVALID protocol request: " + samlRequest, e); + throw new MOAIDException(e.getMessage(), new Object[] {}); } } -- cgit v1.2.3