anchor.diff:      String encodedReq = null;
       String relayState = "";
       String domain = null;
  +    String url = null;
       if (request.getParameter(SAML2SSOAuthenticatorConstants.LOG_OUT_REQ) != null) {
           LogoutRequestBuilder logoutRequestBuilder = new LogoutRequestBuilder();
           LogoutRequest logoutReq = logoutRequestBuilder.buildLogoutRequest((String) request.getAttribute(
  
positive.code:                 (String)request.getSession().getAttribute(SAML2SSOAuthenticatorConstants.IDP_SESSION_INDEX));
          encodedReq = Util.encode(Util.marshall(logoutReq));
          relayState = UUIDGenerator.generateUUID();
      } else {
      	 AuthenticationRequestBuilder authnReqGenerator = new AuthenticationRequestBuilder();
           AuthenticatorsConfiguration authenticatorsConfiguration = AuthenticatorsConfiguration.getInstance();
  
negative.code:          encodedReq = Util.encode(Util.marshall(authRequest));
           relayState = UUIDGenerator.generateUUID();
           domain = (String)request.getAttribute(MultitenantConstants.TENANT_DOMAIN);
           url = Util.getIdentityProviderSSOServiceURL();
      }
      // add the relay state to Session Manager
      SSOSessionManager.addAuthnRequest(relayState);
  