public class UndertowRequestAuthenticator 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
Constructor and Description |
---|
UndertowRequestAuthenticator(HttpFacade facade,
KeycloakDeployment deployment,
int sslRedirectPort,
io.undertow.security.api.SecurityContext securityContext,
io.undertow.server.HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
protected void |
completeBearerAuthentication(KeycloakPrincipal principal,
RefreshableKeycloakSecurityContext session) |
protected void |
completeOAuthAuthentication(KeycloakPrincipal principal,
RefreshableKeycloakSecurityContext session) |
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
protected boolean |
isCached() |
protected void |
login(KeycloakAccount account) |
protected void |
propagateKeycloakContext(KeycloakUndertowAccount account) |
authenticate, completeAuthentication, completeAuthentication, createBearerTokenAuthenticator, getChallenge
protected io.undertow.security.api.SecurityContext securityContext
protected io.undertow.server.HttpServerExchange exchange
public UndertowRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, int sslRedirectPort, io.undertow.security.api.SecurityContext securityContext, io.undertow.server.HttpServerExchange exchange)
protected void propagateKeycloakContext(KeycloakUndertowAccount account)
protected OAuthRequestAuthenticator createOAuthAuthenticator()
createOAuthAuthenticator
in class RequestAuthenticator
protected void completeOAuthAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext session)
completeOAuthAuthentication
in class RequestAuthenticator
protected void login(KeycloakAccount account)
protected void completeBearerAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext session)
completeBearerAuthentication
in class RequestAuthenticator
protected boolean isCached()
isCached
in class RequestAuthenticator
Copyright © 2014. All Rights Reserved.