sigh... actually *setting* the value tends to keep it around longer...
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 12 Jul 2007 10:27:09 +0000 (10:27 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 12 Jul 2007 10:27:09 +0000 (10:27 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2318 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index 0551e46..f749daa 100644 (file)
@@ -282,7 +282,7 @@ public abstract class AbstractSAMLProfileHandler extends
          * @param state relay state of the current request
          */
         public void setRelayState(String state){
-            
+            relayState = state;
         }
         
         /**
index c38eb29..daae537 100644 (file)
@@ -172,9 +172,6 @@ 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) {
@@ -298,10 +295,7 @@ 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);