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, verifySSL
protected 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 RequestAuthenticator
protected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp)
completeOAuthAuthentication
in class RequestAuthenticator
protected void completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method)
completeBearerAuthentication
in class RequestAuthenticator
protected void restoreRequest()
protected String getHttpSessionId(boolean create)
getHttpSessionId
in class RequestAuthenticator
Copyright © 2014. All Rights Reserved.