public class CatalinaRequestAuthenticator extends RequestAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected GenericPrincipalFactory |
principalFactory |
protected org.apache.catalina.connector.Request |
request |
protected AbstractKeycloakAuthenticatorValve |
valve |
challenge, deployment, facade, sslRedirectPort, tokenStore| Constructor and Description |
|---|
CatalinaRequestAuthenticator(KeycloakDeployment deployment,
AbstractKeycloakAuthenticatorValve valve,
AdapterTokenStore tokenStore,
CatalinaHttpFacade facade,
org.apache.catalina.connector.Request request,
GenericPrincipalFactory principalFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal,
String method) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp) |
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
protected String |
getHttpSessionId(boolean create) |
protected void |
restoreRequest() |
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, getChallenge, verifySSLprotected AbstractKeycloakAuthenticatorValve valve
protected org.apache.catalina.connector.Request request
protected GenericPrincipalFactory principalFactory
public CatalinaRequestAuthenticator(KeycloakDeployment deployment, AbstractKeycloakAuthenticatorValve valve, AdapterTokenStore tokenStore, CatalinaHttpFacade facade, org.apache.catalina.connector.Request request, GenericPrincipalFactory principalFactory)
protected OAuthRequestAuthenticator createOAuthAuthenticator()
createOAuthAuthenticator in class RequestAuthenticatorprotected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp)
completeOAuthAuthentication in class RequestAuthenticatorprotected void completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method)
completeBearerAuthentication in class RequestAuthenticatorprotected void restoreRequest()
protected String getHttpSessionId(boolean create)
getHttpSessionId in class RequestAuthenticatorCopyright © 2014. All Rights Reserved.