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, createQueryParamterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
protected 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 RequestAuthenticator
protected void completeOAuthAuthentication(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
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
protected abstract KeycloakUndertowAccount createAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
Copyright © 2018 JBoss by Red Hat. All rights reserved.