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 AuthenticationThe 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 Summary
Nested Classes Modifier and Type Interface Description static interfaceAuthentication.ChallengeAn Authentication Challenge has been sent.static interfaceAuthentication.DeferredA deferred authentication with methods to progress the authentication process.static classAuthentication.Failedstatic interfaceAuthentication.FailureAn Authentication Failure has been sent.static interfaceAuthentication.LoginAuthenticationAn authentication that is capable of performing a programmatic login operation.static interfaceAuthentication.LogoutAuthenticationAn authentication that is capable of performing a programmatic logout operation.static interfaceAuthentication.NonAuthenticatedAfter a logout, the authentication reverts to a state where it is possible to programmatically log in again.static interfaceAuthentication.ResponseSentAuthentication Response sent state.static interfaceAuthentication.SendSuccessstatic interfaceAuthentication.UserA successful Authentication with User information.static interfaceAuthentication.WrappedA wrapped authentication with methods provide the wrapped request/response for use by the application
-
Field Summary
Fields Modifier and Type Field Description static AuthenticationNOT_CHECKEDAuthentication not checkedstatic AuthenticationSEND_CONTINUEAuthentication challenge sent.static AuthenticationSEND_FAILUREAuthentication failure sent.static AuthenticationSEND_SUCCESSstatic AuthenticationUNAUTHENTICATEDUnauthenticated state.
-
-
-
Field Detail
-
UNAUTHENTICATED
static final Authentication UNAUTHENTICATED
Unauthenticated state.This convenience instance is for non mandatory authentication where credentials have been presented and checked, but failed authentication.
-
NOT_CHECKED
static final Authentication NOT_CHECKED
Authentication not checkedThis convenience instance us for non mandatory authentication when no credentials are present to be checked.
-
SEND_CONTINUE
static final Authentication SEND_CONTINUE
Authentication challenge sent.This convenience instance is for when an authentication challenge has been sent.
-
SEND_FAILURE
static final Authentication SEND_FAILURE
Authentication failure sent.This convenience instance is for when an authentication failure has been sent.
-
SEND_SUCCESS
static final Authentication SEND_SUCCESS
-
-