anchor.diff:                  (String)request.getSession().getAttribute(SAML2SSOAuthenticatorConstants.IDP_SESSION_INDEX));
           encodedReq = Util.encode(Util.marshall(logoutReq));
           relayState = UUIDGenerator.generateUUID();
  +        url = Util.getIdentityProviderSLOServiceURL();
  +        if (url == null) {
  +        	url = Util.getIdentityProviderSSOServiceURL();
  +        }
       } else {
       	 AuthenticationRequestBuilder authnReqGenerator = new AuthenticationRequestBuilder();
            AuthenticatorsConfiguration authenticatorsConfiguration = AuthenticatorsConfiguration.getInstance();
  
positive.code: %>
   <p>You are now redirected to <%=Util.getIdentityProviderSSOServiceURL()%>. If the
   redirection fails, please click the post button.</p>
  <form method="post" action="<%=Util.getIdentityProviderSSOServiceURL()%>">
      <p><input type="hidden" name="<%=SAML2SSOAuthenticatorConstants.HTTP_POST_PARAM_SAML2_AUTH_REQ%>"
                value="<%= encodedReq %>"/>
          <input type="hidden" name="RelayState" value="<%= relayState %>"/>
  
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);
  