Class DefaultWsFedAuthenticator

    • Constructor Detail

      • DefaultWsFedAuthenticator

        public DefaultWsFedAuthenticator()
    • Method Detail

      • authenticate

        public SSOToken authenticate​(jakarta.servlet.http.HttpServletRequest request,
                                     jakarta.servlet.http.HttpServletResponse response,
                                     jakarta.xml.soap.SOAPMessage soapMessage,
                                     String realm,
                                     String username,
                                     char[] password)
                              throws ActiveRequestorException
        Description copied from interface: WsFedAuthenticator
        Authenticates the end-user for the incoming active WS-Federation request.
        Specified by:
        authenticate in interface WsFedAuthenticator
        Parameters:
        request - The HTTP request.
        response - The HTTP response.
        soapMessage - The SOAP message received by the STS endpoint.
        realm - The realm that is associated with the incoming request.
        username - The username extracted from the SOAP message.
        password - The password extracted from the SOAP message.
        Returns:
        The SSOToken corresponding to the successful authentication. May not be null.
        Throws:
        ActiveRequestorException - If there was any problem during the authentication, or if the authentication was unsuccessful.