Package org.eclipse.jetty.server
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
An authentication that is capable of performing a programmatic
logout operation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.Authentication
Authentication.Challenge, Authentication.Deferred, Authentication.Failed, Authentication.Failure, Authentication.LoginAuthentication, Authentication.LogoutAuthentication, Authentication.NonAuthenticated, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
-
Field Summary
Fields inherited from interface org.eclipse.jetty.server.Authentication
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
-
Method Summary
Modifier and TypeMethodDescriptionlogout
(jakarta.servlet.ServletRequest request) Remove any user information that may be present in the request such that a call to getUserPrincipal/getRemoteUser will return null.
-
Method Details
-
logout
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
-