temp logging of relay state before and after transfer to authentication engine
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 12 Jul 2007 10:21:06 +0000 (10:21 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 12 Jul 2007 10:21:06 +0000 (10:21 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2317 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java

index b115fab..c38eb29 100644 (file)
@@ -172,6 +172,9 @@ public class SSOProfileHandler extends AbstractSAML2ProfileHandler {
             authnRequest = (AuthnRequest) decoder.getSAMLMessage();
 
             Saml2LoginContext loginContext = new Saml2LoginContext(relyingParty, decoder.getRelayState(), authnRequest);
+            if(log.isDebugEnabled()){
+                log.debug("\n\nRelayState : " + loginContext.getRelayState());
+            }
             loginContext.setAuthenticationEngineURL(authenticationManagerPath);
             loginContext.setProfileHandlerURL(HttpHelper.getRequestUriWithoutContext(httpRequest));
             if (loginContext.getRequestedAuthenticationMethods().size() == 0) {
@@ -296,6 +299,9 @@ public class SSOProfileHandler extends AbstractSAML2ProfileHandler {
         try {
             requestContext.setMessageDecoder(decodingBinding);
             
+            if(log.isDebugEnabled()){
+                log.debug("\n\nRelayState : " + loginContext.getRelayState());
+            }
             requestContext.setRelayState(loginContext.getRelayState());
 
             requestContext.setLoginContext(loginContext);