public class ServletRequestAuthenticator extends UndertowRequestAuthenticator
exchange, securityContext
challenge, deployment, facade, log, sslRedirectPort, tokenStore
Constructor and Description |
---|
ServletRequestAuthenticator(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 KeycloakUndertowAccount |
createAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
Subclasses need to be able to create their own version of the KeycloakUndertowAccount
|
protected String |
getHttpSessionId(boolean create) |
protected javax.servlet.http.HttpSession |
getSession(boolean create) |
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, AdapterTokenStore tokenStore)
protected void propagateKeycloakContext(KeycloakUndertowAccount account)
propagateKeycloakContext
in class UndertowRequestAuthenticator
protected KeycloakUndertowAccount createAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
UndertowRequestAuthenticator
createAccount
in class UndertowRequestAuthenticator
protected String getHttpSessionId(boolean create)
getHttpSessionId
in class UndertowRequestAuthenticator
protected javax.servlet.http.HttpSession getSession(boolean create)
Copyright © 2014. All Rights Reserved.