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, verifySSLprotected 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 RequestAuthenticatorprotected void completeOAuthAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext session)
completeOAuthAuthentication in class RequestAuthenticatorprotected void login(KeycloakAccount account)
protected void completeBearerAuthentication(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext session)
completeBearerAuthentication in class RequestAuthenticatorprotected boolean isCached()
isCached in class RequestAuthenticatorCopyright © 2014. All Rights Reserved.