Package org.eclipse.jetty.server
Interface Authentication
- All Known Subinterfaces:
- Authentication.Challenge,- Authentication.Deferred,- Authentication.Failure,- Authentication.LoginAuthentication,- Authentication.LogoutAuthentication,- Authentication.NonAuthenticated,- Authentication.ResponseSent,- Authentication.SendSuccess,- Authentication.User,- Authentication.Wrapped
- All Known Implementing Classes:
- AbstractUserAuthentication,- DeferredAuthentication,- FormAuthenticator.FormAuthentication,- LoggedOutAuthentication,- OpenIdAuthenticator.OpenIdAuthentication,- SessionAuthentication,- UserAuthentication
public interface Authentication
The Authentication state of a request.
 
The Authentication state can be one of several sub-types that reflects where the request is in the many different authentication cycles. Authentication might not yet be checked or it might be checked and failed, checked and deferred or succeeded.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn Authentication Challenge has been sent.static interfaceA deferred authentication with methods to progress the authentication process.static classstatic interfaceAn Authentication Failure has been sent.static interfaceAn authentication that is capable of performing a programmatic login operation.static interfaceAn authentication that is capable of performing a programmatic logout operation.static interfaceAfter a logout, the authentication reverts to a state where it is possible to programmatically log in again.static interfaceAuthentication Response sent state.static interfacestatic interfaceA successful Authentication with User information.static interfaceA wrapped authentication with methods provide the wrapped request/response for use by the application
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final AuthenticationAuthentication not checkedstatic final AuthenticationAuthentication challenge sent.static final AuthenticationAuthentication failure sent.static final Authenticationstatic final AuthenticationUnauthenticated state.
- 
Field Details- 
UNAUTHENTICATEDUnauthenticated state.This convenience instance is for non mandatory authentication where credentials have been presented and checked, but failed authentication. 
- 
NOT_CHECKEDAuthentication not checkedThis convenience instance us for non mandatory authentication when no credentials are present to be checked. 
- 
SEND_CONTINUEAuthentication challenge sent.This convenience instance is for when an authentication challenge has been sent. 
- 
SEND_FAILUREAuthentication failure sent.This convenience instance is for when an authentication failure has been sent. 
- 
SEND_SUCCESS
 
-