Interface Authentication.Deferred
- All Superinterfaces:
 Authentication, Authentication.LoginAuthentication, Authentication.LogoutAuthentication, Request.AuthenticationState
- 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.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface 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 Authentication
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED - 
Method Summary
Modifier and TypeMethodDescriptionauthenticate(javax.servlet.ServletRequest request) Authenticate if possible without sending a challenge.authenticate(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) Authenticate and possibly send a challenge.Methods inherited from interface Authentication.LoginAuthentication
loginMethods inherited from interface Authentication.LogoutAuthentication
logoutMethods inherited from interface Request.AuthenticationState
getUserPrincipal 
- 
Method Details
- 
authenticate
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 requestresponse- the response- Returns:
 - The new Authentication state.
 
 
 -