public class WildflyRequestAuthenticator extends ServletRequestAuthenticator
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
log |
exchange, securityContext
challenge, deployment, facade, sslRedirectPort, tokenStore
Constructor and Description |
---|
WildflyRequestAuthenticator(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 Group |
createGroup(String name,
Set<Principal> principals) |
protected Principal |
getPrincipal(Subject subject)
Get the Principal given the authenticated Subject.
|
protected Group[] |
getRoleSets(Collection<String> roleSet) |
protected void |
propagateKeycloakContext(KeycloakUndertowAccount account) |
changeHttpSessionId, createAccount, createOAuthAuthenticator, getHttpSessionId, getSession
completeBearerAuthentication, completeOAuthAuthentication
authenticate, completeAuthentication, completeAuthentication, createBasicAuthAuthenticator, createBearerTokenAuthenticator, createQueryParamterTokenRequestAuthenticator, getChallenge, isAutodetectedBearerOnly, verifySSL
public WildflyRequestAuthenticator(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 ServletRequestAuthenticator
protected Principal getPrincipal(Subject subject)
Group
is
considered or the single subject inside the CallerPrincipal group.subject
- protected Group[] getRoleSets(Collection<String> roleSet)
Copyright © 2021 JBoss by Red Hat. All rights reserved.