Class SSOSamlProfileCallbackHandlerController

    • Method Detail

      • buildAuthenticationContextPair

        protected static org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,​org.opensaml.messaging.context.MessageContext> buildAuthenticationContextPair​(javax.servlet.http.HttpServletRequest request,
                                                                                                                                                                                           org.opensaml.saml.saml2.core.AuthnRequest authnRequest)
        Build authentication context pair pair.
        Parameters:
        request - the request
        authnRequest - the authn request
        Returns:
        the pair
      • handleCallbackProfileRequest

        @GetMapping(path="/idp/profile/SAML2/Callback")
        protected void handleCallbackProfileRequest​(javax.servlet.http.HttpServletResponse response,
                                                    javax.servlet.http.HttpServletRequest request)
                                             throws java.lang.Exception
        Handle callback profile request.
        Parameters:
        response - the response
        request - the request
        Throws:
        java.lang.Exception - the exception
      • determineProfileBinding

        protected java.lang.String determineProfileBinding​(org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,​org.opensaml.messaging.context.MessageContext> authenticationContext,
                                                           org.jasig.cas.client.validation.Assertion assertion)
        Determine profile binding.
        Parameters:
        authenticationContext - the authentication context
        assertion - the assertion
        Returns:
        the string