public class ServletKeycloakAuthMech extends Object implements io.undertow.security.api.AuthenticationMechanism
| Modifier and Type | Field and Description |
|---|---|
protected AdapterDeploymentContext |
deploymentContext |
static io.undertow.util.AttachmentKey<AuthChallenge> |
KEYCLOAK_CHALLENGE_ATTACHMENT_KEY |
protected io.undertow.servlet.api.ConfidentialPortManager |
portManager |
protected UndertowUserSessionManagement |
userSessionManagement |
| Constructor and Description |
|---|
ServletKeycloakAuthMech(AdapterDeploymentContext deploymentContext,
UndertowUserSessionManagement userSessionManagement,
io.undertow.servlet.api.ConfidentialPortManager portManager) |
| Modifier and Type | Method and Description |
|---|---|
io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome |
authenticate(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext) |
protected ServletRequestAuthenticator |
createRequestAuthenticator(KeycloakDeployment deployment,
io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext,
UndertowHttpFacade facade) |
protected int |
getConfidentilPort(io.undertow.server.HttpServerExchange exchange) |
io.undertow.security.api.AuthenticationMechanism.ChallengeResult |
sendChallenge(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext) |
public static final io.undertow.util.AttachmentKey<AuthChallenge> KEYCLOAK_CHALLENGE_ATTACHMENT_KEY
protected AdapterDeploymentContext deploymentContext
protected UndertowUserSessionManagement userSessionManagement
protected io.undertow.servlet.api.ConfidentialPortManager portManager
public ServletKeycloakAuthMech(AdapterDeploymentContext deploymentContext, UndertowUserSessionManagement userSessionManagement, io.undertow.servlet.api.ConfidentialPortManager portManager)
public io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext)
authenticate in interface io.undertow.security.api.AuthenticationMechanismprotected ServletRequestAuthenticator createRequestAuthenticator(KeycloakDeployment deployment, io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext, UndertowHttpFacade facade)
protected int getConfidentilPort(io.undertow.server.HttpServerExchange exchange)
public io.undertow.security.api.AuthenticationMechanism.ChallengeResult sendChallenge(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext)
sendChallenge in interface io.undertow.security.api.AuthenticationMechanismCopyright © 2014. All Rights Reserved.