public class CatalinaRequestAuthenticator extends RequestAuthenticator
Modifier and Type | Field and Description |
---|---|
protected GenericPrincipalFactory |
principalFactory |
protected org.apache.catalina.connector.Request |
request |
challenge, deployment, facade, sslRedirectPort, tokenStore
Constructor and Description |
---|
CatalinaRequestAuthenticator(KeycloakDeployment deployment,
AdapterTokenStore tokenStore,
CatalinaHttpFacade facade,
org.apache.catalina.connector.Request request,
GenericPrincipalFactory principalFactory) |
Modifier and Type | Method and Description |
---|---|
protected String |
changeHttpSessionId(boolean create) |
protected void |
completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal,
String method) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> skp) |
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParamterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
protected org.apache.catalina.connector.Request request
protected GenericPrincipalFactory principalFactory
public CatalinaRequestAuthenticator(KeycloakDeployment deployment, 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 String changeHttpSessionId(boolean create)
changeHttpSessionId
in class RequestAuthenticator
Copyright © 2019 JBoss by Red Hat. All rights reserved.