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