Class ProgrammaticSingleSignOnCache.SSOHttpServerRequest

    • Constructor Detail

      • SSOHttpServerRequest

        SSOHttpServerRequest​(HttpExchangeSpi httpExchangeSpi)
    • Method Detail

      • noAuthenticationInProgress

        public void noAuthenticationInProgress​(HttpServerMechanismsResponder responder)
        Description copied from interface: HttpServerRequest
        Notification from the mechanism to state no authentication is in progress whilst evaluating the current request.
        Parameters:
        responder - a HttpServerMechanismsResponder that can send a challenge should it be required.
      • authenticationInProgress

        public void authenticationInProgress​(HttpServerMechanismsResponder responder)
        Description copied from interface: HttpServerRequest
        Notification that this mechanism has commenced but not completed authentication, typically because another challenge / response round trip is required.
        Parameters:
        responder - a HttpServerMechanismsResponder that can send a challenge should it be required.
      • authenticationComplete

        public void authenticationComplete​(HttpServerMechanismsResponder responder)
        Description copied from interface: HttpServerRequest
        Notification that authentication is now complete. After this point the framework will perform an authorization check for the authenticated user and if successful establish the identity of the request.
        Parameters:
        responder - a HttpServerMechanismsResponder that can send a response.
      • authenticationComplete

        public void authenticationComplete​(HttpServerMechanismsResponder responder,
                                           Runnable logoutHandler)
        Description copied from interface: HttpServerRequest

        Notification that authentication is now complete.

        This method behaves exactly like {@link #authenticationComplete(HttpServerMechanismsResponder)}, allowing mechanisms to register a logout handler which should be called when a logout request is received by the underlying container.

        Parameters:
        responder - a HttpServerMechanismsResponder that can send a response.
        logoutHandler - a Runnable that can handle logout
      • suspendRequest

        public boolean suspendRequest()
        Description copied from interface: HttpServerRequest
        Suspend the current request so that it can be subsequently resumed.
        Returns:
        true if suspending requests is supported, false otherwise.
      • resumeRequest

        public boolean resumeRequest()
        Description copied from interface: HttpServerRequest
        Resume any previously suspended request.
        Returns:
        true if resuming requests is supported, false otherwise.