aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-03-25 15:01:52 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-03-25 15:01:52 +0100
commit55dec20f9fbf793f9c54cc03388c8e79ad4e9b8a (patch)
tree418f0a973ff7a57ea53c95b1b318d6cf3c342cd1
parentd86e5967c6693b2505d90a535197a7af8ced5872 (diff)
downloadmoa-id-spss-55dec20f9fbf793f9c54cc03388c8e79ad4e9b8a.tar.gz
moa-id-spss-55dec20f9fbf793f9c54cc03388c8e79ad4e9b8a.tar.bz2
moa-id-spss-55dec20f9fbf793f9c54cc03388c8e79ad4e9b8a.zip
log full PVP2.1 request if preProcess failed
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/PVP2XProtocol.java6
1 files 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[] {});
}
}