Class DeferredAuthentication
java.lang.Object
org.eclipse.jetty.security.authentication.DeferredAuthentication
- All Implemented Interfaces:
Authentication,Authentication.Deferred,Authentication.LoginAuthentication,Authentication.LogoutAuthentication
-
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
FieldsFields inherited from interface org.eclipse.jetty.server.Authentication
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(javax.servlet.ServletRequest request) authenticate(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) static booleanisDeferred(javax.servlet.http.HttpServletResponse response) logout(javax.servlet.ServletRequest request)
-
Field Details
-
_authenticator
-
-
Constructor Details
-
DeferredAuthentication
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceAuthentication.Deferred- See Also:
-
authenticate
public Authentication authenticate(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) - Specified by:
authenticatein interfaceAuthentication.Deferred- See Also:
-
login
- Specified by:
loginin interfaceAuthentication.LoginAuthentication- See Also:
-
logout
- Specified by:
logoutin interfaceAuthentication.LogoutAuthentication
-
getPreviousAssociation
-
isDeferred
public static boolean isDeferred(javax.servlet.http.HttpServletResponse response) - Parameters:
response- the response- Returns:
- true if this response is from a deferred call to
authenticate(ServletRequest)
-