public class CatalinaRequestAuthenticator extends RequestAuthenticator
Modifier and Type | Field and Description |
---|---|
protected org.apache.catalina.connector.Request |
request |
protected CatalinaUserSessionManagement |
userSessionManagement |
protected KeycloakAuthenticatorValve |
valve |
challenge, deployment, facade, sslRedirectPort
Constructor and Description |
---|
CatalinaRequestAuthenticator(KeycloakDeployment deployment,
KeycloakAuthenticatorValve valve,
CatalinaUserSessionManagement userSessionManagement,
CatalinaHttpFacade facade,
org.apache.catalina.connector.Request request) |
Modifier and Type | Method and Description |
---|---|
protected void |
completeBearerAuthentication(KeycloakPrincipal principal,
RefreshableKeycloakSecurityContext securityContext) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal skp,
RefreshableKeycloakSecurityContext securityContext) |
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
protected Set<String> |
getRolesFromToken(RefreshableKeycloakSecurityContext session) |
protected boolean |
isCached() |
protected void |
restoreRequest() |
authenticate, completeAuthentication, completeAuthentication, createBearerTokenAuthenticator, getChallenge, verifySSL
protected KeycloakAuthenticatorValve valve
protected CatalinaUserSessionManagement userSessionManagement
protected org.apache.catalina.connector.Request request
public CatalinaRequestAuthenticator(KeycloakDeployment deployment, KeycloakAuthenticatorValve valve, CatalinaUserSessionManagement userSessionManagement, CatalinaHttpFacade facade, org.apache.catalina.connector.Request request)
protected OAuthRequestAuthenticator createOAuthAuthenticator()
createOAuthAuthenticator
in class RequestAuthenticator
protected void completeOAuthAuthentication(KeycloakPrincipal skp, RefreshableKeycloakSecurityContext securityContext)
completeOAuthAuthentication
in class RequestAuthenticator
protected void completeBearerAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext securityContext)
completeBearerAuthentication
in class RequestAuthenticator
protected Set<String> getRolesFromToken(RefreshableKeycloakSecurityContext session)
protected boolean isCached()
isCached
in class RequestAuthenticator
protected void restoreRequest()
Copyright © 2015. All Rights Reserved.