public class ServletRequestAuthenticator extends AbstractUndertowRequestAuthenticator
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 String |
changeHttpSessionId(boolean create) |
protected KeycloakUndertowAccount |
createAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
Subclasses need to be able to create their own version of the KeycloakUndertowAccount
|
protected OAuthRequestAuthenticator |
createOAuthAuthenticator() |
protected String |
getHttpSessionId(boolean create) |
protected javax.servlet.http.HttpSession |
getSession(boolean create) |
protected void |
propagateKeycloakContext(KeycloakUndertowAccount account) |
completeBearerAuthentication, completeOAuthAuthentication
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParamterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
public ServletRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, int sslRedirectPort, io.undertow.security.api.SecurityContext securityContext, io.undertow.server.HttpServerExchange exchange, AdapterTokenStore tokenStore)
protected OAuthRequestAuthenticator createOAuthAuthenticator()
createOAuthAuthenticator
in class AbstractUndertowRequestAuthenticator
protected void propagateKeycloakContext(KeycloakUndertowAccount account)
propagateKeycloakContext
in class AbstractUndertowRequestAuthenticator
protected KeycloakUndertowAccount createAccount(KeycloakPrincipal<RefreshableKeycloakSecurityContext> principal)
AbstractUndertowRequestAuthenticator
createAccount
in class AbstractUndertowRequestAuthenticator
protected String changeHttpSessionId(boolean create)
changeHttpSessionId
in class AbstractUndertowRequestAuthenticator
protected String getHttpSessionId(boolean create)
protected javax.servlet.http.HttpSession getSession(boolean create)
Copyright © 2018 JBoss by Red Hat. All rights reserved.