public class WildflyRequestAuthenticator extends ServletRequestAuthenticator
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
log |
userSessionManagement
exchange, securityContext
challenge, deployment, facade, sslRedirectPort
Constructor and Description |
---|
WildflyRequestAuthenticator(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 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) |
isCached, login
completeBearerAuthentication, completeOAuthAuthentication, createOAuthAuthenticator
authenticate, completeAuthentication, completeAuthentication, createBearerTokenAuthenticator, getChallenge
public WildflyRequestAuthenticator(HttpFacade facade, KeycloakDeployment deployment, int sslRedirectPort, io.undertow.security.api.SecurityContext securityContext, io.undertow.server.HttpServerExchange exchange, UndertowUserSessionManagement userSessionManagement)
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 © 2014. All Rights Reserved.