Interface Authentication.Deferred

    • Method Detail

      • authenticate

        Authentication authenticate​(ServletRequest request)
        Deprecated.
        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​(ServletRequest request,
                                    ServletResponse response)
        Deprecated.
        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.