@ToStringBuilder.ToObjectInfo public abstract class Authenticator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AppConfig |
appConfig |
protected javax.security.enterprise.identitystore.IdentityStoreHandler |
identityStoreHandler |
| Constructor and Description |
|---|
Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
askAuthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
askReauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
cleanSubject(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) |
boolean |
isReauthenticated(UserPrincipal principal) |
boolean |
isRememberMe(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) |
protected abstract javax.security.enterprise.credential.Credential |
parseCredential(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) |
javax.security.enterprise.AuthenticationStatus |
secureResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) |
javax.security.enterprise.AuthenticationStatus |
validateRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) |
@Inject protected AppConfig appConfig
@Inject protected javax.security.enterprise.identitystore.IdentityStoreHandler identityStoreHandler
protected abstract javax.security.enterprise.credential.Credential parseCredential(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
public javax.security.enterprise.AuthenticationStatus validateRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
throws javax.security.enterprise.AuthenticationException
javax.security.enterprise.AuthenticationExceptionpublic javax.security.enterprise.AuthenticationStatus secureResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
throws javax.security.enterprise.AuthenticationException
javax.security.enterprise.AuthenticationExceptionpublic void cleanSubject(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
public boolean isRememberMe(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
public void askAuthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic void askReauthenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic boolean isReauthenticated(UserPrincipal principal)
Copyright © 2018. All rights reserved.