Interface Authentication.Deferred

All Superinterfaces:
Authentication, Authentication.LoginAuthentication, Authentication.LogoutAuthentication
All Known Implementing Classes:
DeferredAuthentication
Enclosing interface:
Authentication

public static interface Authentication.Deferred extends Authentication.LoginAuthentication, Authentication.LogoutAuthentication
A deferred authentication with methods to progress the authentication process.
  • Method Details

    • 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.