public class ServletRequestAuthenticator extends UndertowRequestAuthenticator
exchange, securityContext, userSessionManagement
challenge, deployment, facade, log, sslRedirectPort
Constructor and Description |
---|
ServletRequestAuthenticator(HttpFacade facade,
KeycloakDeployment deployment,
int sslRedirectPort,
io.undertow.security.api.SecurityContext securityContext,
io.undertow.server.HttpServerExchange exchange,
UndertowUserSessionManagement userSessionManagement) |
Modifier and Type | Method and Description |
---|---|
protected KeycloakUndertowAccount |
createAccount(KeycloakPrincipal principal,
RefreshableKeycloakSecurityContext session)
Subclasses need to be able to create their own version of the KeycloakUndertowAccount
|
protected boolean |
isCached() |
protected void |
login(KeycloakAccount account) |
protected void |
propagateKeycloakContext(KeycloakUndertowAccount account) |
completeBearerAuthentication, completeOAuthAuthentication, createOAuthAuthenticator
authenticate, completeAuthentication, completeAuthentication, createBearerTokenAuthenticator, getChallenge, verifySSL
public ServletRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, int sslRedirectPort, io.undertow.security.api.SecurityContext securityContext, io.undertow.server.HttpServerExchange exchange, UndertowUserSessionManagement userSessionManagement)
protected boolean isCached()
isCached
in class UndertowRequestAuthenticator
protected void propagateKeycloakContext(KeycloakUndertowAccount account)
propagateKeycloakContext
in class UndertowRequestAuthenticator
protected void login(KeycloakAccount account)
login
in class UndertowRequestAuthenticator
protected KeycloakUndertowAccount createAccount(KeycloakPrincipal principal, RefreshableKeycloakSecurityContext session)
UndertowRequestAuthenticator
createAccount
in class UndertowRequestAuthenticator
Copyright © 2014. All Rights Reserved.