Interface Authentication.Deferred

    • Method Detail

      • authenticate

        Authentication authenticate​(javax.servlet.ServletRequest request)
        Authenticate if possible without sending a challenge. This is used to check credentials that have been sent for non-mandatory authentication.
        Parameters:
        request - the request
        Returns:
        The new Authentication state.
      • authenticate

        Authentication authenticate​(javax.servlet.ServletRequest request,
                                    javax.servlet.ServletResponse response)
        Authenticate and possibly send a challenge. This is used to initiate authentication for previously non-mandatory authentication.
        Parameters:
        request - the request
        response - the response
        Returns:
        The new Authentication state.