Interface Authentication.LogoutAuthentication

All Superinterfaces:
Authentication
All Known Subinterfaces:
Authentication.Deferred, Authentication.User
All Known Implementing Classes:
AbstractUserAuthentication, DeferredAuthentication, FormAuthenticator.FormAuthentication, OpenIdAuthenticator.OpenIdAuthentication, SessionAuthentication, UserAuthentication
Enclosing interface:
Authentication

public static interface Authentication.LogoutAuthentication extends Authentication
An authentication that is capable of performing a programmatic logout operation.
  • Method Details

    • logout

      Authentication logout(javax.servlet.ServletRequest request)
      Remove any user information that may be present in the request such that a call to getUserPrincipal/getRemoteUser will return null.
      Parameters:
      request - the request
      Returns:
      NoAuthentication if we successfully logged out