public abstract class AbstractUndertowRequestAuthenticator extends RequestAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected io.undertow.server.HttpServerExchange |
exchange |
protected io.undertow.security.api.SecurityContext |
securityContext |
challenge, deployment, facade, log, sslRedirectPort, tokenStore| Constructor and Description |
|---|
AbstractUndertowRequestAuthenticator(HttpFacade facade,
KeycloakDeployment deployment,
int sslRedirectPort,
io.undertow.security.api.SecurityContext securityContext,
io.undertow.server.HttpServerExchange exchange,
AdapterTokenStore tokenStore) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
changeHttpSessionId(boolean create) |
protected void |
completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal,
String method) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal) |
protected abstract KeycloakUndertowAccount |
createAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
Subclasses need to be able to create their own version of the KeycloakUndertowAccount
|
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
protected void |
propagateKeycloakContext(KeycloakUndertowAccount account) |
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParameterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSLprotected io.undertow.security.api.SecurityContext securityContext
protected io.undertow.server.HttpServerExchange exchange
public AbstractUndertowRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, int sslRedirectPort, io.undertow.security.api.SecurityContext securityContext, io.undertow.server.HttpServerExchange exchange, AdapterTokenStore tokenStore)
protected void propagateKeycloakContext(KeycloakUndertowAccount account)
protected OAuthRequestAuthenticator createOAuthAuthenticator()
createOAuthAuthenticator in class RequestAuthenticatorprotected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
completeOAuthAuthentication in class RequestAuthenticatorprotected void completeBearerAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal, String method)
completeBearerAuthentication in class RequestAuthenticatorprotected String changeHttpSessionId(boolean create)
changeHttpSessionId in class RequestAuthenticatorprotected abstract KeycloakUndertowAccount createAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
Copyright © 2021 JBoss by Red Hat. All rights reserved.