public abstract class HttpAuthenticationMechanismBase extends Object implements javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanism
| Modifier and Type | Field and Description |
|---|---|
protected AppConfig |
appConfig |
protected AuthHandlerProvider |
authHandlerProvider |
protected javax.security.enterprise.identitystore.IdentityStoreHandler |
identityStoreHandler |
protected RequestContextParser |
requestContextParser |
| Constructor and Description |
|---|
HttpAuthenticationMechanismBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanSubject(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) |
boolean |
rememberMe(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext) |
int |
rememberMeCookieAge() |
boolean |
rememberMeCookieHttpOnly() |
String |
rememberMeCookieName() |
boolean |
rememberMeCookieSecure() |
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 javax.security.enterprise.identitystore.IdentityStoreHandler identityStoreHandler
@Inject protected AuthHandlerProvider authHandlerProvider
@Inject protected RequestContextParser requestContextParser
@Inject protected AppConfig appConfig
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
validateRequest in interface javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanismrequest - response - httpMessageContext - 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
secureResponse in interface javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanismjavax.security.enterprise.AuthenticationExceptionpublic void cleanSubject(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
cleanSubject in interface javax.security.enterprise.authentication.mechanism.http.HttpAuthenticationMechanismpublic boolean rememberMe(javax.security.enterprise.authentication.mechanism.http.HttpMessageContext httpMessageContext)
public String rememberMeCookieName()
public int rememberMeCookieAge()
public boolean rememberMeCookieSecure()
public boolean rememberMeCookieHttpOnly()
Copyright © 2021. All rights reserved.