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, verifySSLprotected 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 RequestAuthenticatorprotected void completeOAuthAuthentication(KeycloakPrincipal skp, RefreshableKeycloakSecurityContext securityContext)
completeOAuthAuthentication in class RequestAuthenticatorprotected void completeBearerAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext securityContext)
completeBearerAuthentication in class RequestAuthenticatorprotected Set<String> getRolesFromToken(RefreshableKeycloakSecurityContext session)
protected boolean isCached()
isCached in class RequestAuthenticatorprotected void restoreRequest()
Copyright © 2014. All Rights Reserved.