Authentication, Authentication.Deferredpublic class DeferredAuthentication extends java.lang.Object implements Authentication.Deferred
Authentication.Challenge, Authentication.Deferred, Authentication.Failed, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped| Modifier and Type | Field | Description |
|---|---|---|
protected LoginAuthenticator |
_authenticator |
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED| Constructor | Description |
|---|---|
DeferredAuthentication(LoginAuthenticator authenticator) |
| Modifier and Type | Method | Description |
|---|---|---|
Authentication |
authenticate(ServletRequest request) |
|
Authentication |
authenticate(ServletRequest request,
ServletResponse response) |
|
java.lang.Object |
getPreviousAssociation() |
|
static boolean |
isDeferred(HttpServletResponse response) |
|
Authentication |
login(java.lang.String username,
java.lang.Object password,
ServletRequest request) |
protected final LoginAuthenticator _authenticator
public DeferredAuthentication(LoginAuthenticator authenticator)
public Authentication authenticate(ServletRequest request)
authenticate in interface Authentication.DeferredAuthentication.Deferred.authenticate(ServletRequest)public Authentication authenticate(ServletRequest request, ServletResponse response)
authenticate in interface Authentication.DeferredAuthentication.Deferred.authenticate(javax.servlet.ServletRequest, javax.servlet.ServletResponse)public Authentication login(java.lang.String username, java.lang.Object password, ServletRequest request)
login in interface Authentication.DeferredAuthentication.Deferred.login(String, Object, ServletRequest)public java.lang.Object getPreviousAssociation()
public static boolean isDeferred(HttpServletResponse response)
response - the responseauthenticate(ServletRequest)Copyright © 1995–2018 Webtide. All rights reserved.