aboutsummaryrefslogtreecommitdiff
path: root/id/oa/src/main/java/at
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-09-08 14:34:29 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-09-08 14:34:29 +0200
commit90d1f0733edddfb2fbc5527713c3a8a012855612 (patch)
tree250a38fd7be49d830dd488e833729f0903542d4f /id/oa/src/main/java/at
parenteb32c9b2cc8720c69090e9fd82fbd6861429b599 (diff)
downloadmoa-id-spss-90d1f0733edddfb2fbc5527713c3a8a012855612.tar.gz
moa-id-spss-90d1f0733edddfb2fbc5527713c3a8a012855612.tar.bz2
moa-id-spss-90d1f0733edddfb2fbc5527713c3a8a012855612.zip
add additional log messages into demoOA
Diffstat (limited to 'id/oa/src/main/java/at')
-rw-r--r--id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java
index 31a3be7e2..93622f828 100644
--- a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java
+++ b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/DemoApplication.java
@@ -98,6 +98,7 @@ public class DemoApplication extends HttpServlet {
ApplicationBean bean = new ApplicationBean();
+ log.debug("Receive request on secure-area endpoint ...");
String method = request.getMethod();
HttpSession session = request.getSession();
@@ -113,6 +114,7 @@ public class DemoApplication extends HttpServlet {
Response samlResponse = null;
if (method.equals("GET")) {
+ log.debug("Find possible SAML2 Redirect-Binding response ...");
HTTPRedirectDeflateDecoder decode = new HTTPRedirectDeflateDecoder(new BasicParserPool());
BasicSAMLMessageContext<Response, ?, ?> messageContext = new BasicSAMLMessageContext<Response, SAMLObject, SAMLObject>();
@@ -140,8 +142,11 @@ public class DemoApplication extends HttpServlet {
messageContext.setSecurityPolicyResolver(resolver1);
decode.decode(messageContext);
+
+ log.info("PVP2 Assertion with Redirect-Binding is valid");
- } else if (method.equals("POST")) {
+ } else if (method.equals("POST")) {
+ log.debug("Find possible SAML2 Post-Binding response ...");
//Decode with HttpPost Binding
HTTPPostDecoder decode = new HTTPPostDecoder(new BasicParserPool());
BasicSAMLMessageContext<Response, ?, ?> messageContext = new BasicSAMLMessageContext<Response, SAMLObject, SAMLObject>();