public class ServletKeycloakAuthMech extends UndertowKeycloakAuthMech
Modifier and Type | Field and Description |
---|---|
protected AdapterDeploymentContext |
deploymentContext |
protected io.undertow.servlet.api.ConfidentialPortManager |
portManager |
protected UndertowUserSessionManagement |
userSessionManagement |
KEYCLOAK_CHALLENGE_ATTACHMENT_KEY
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 RequestAuthenticator |
createRequestAuthenticator(KeycloakDeployment deployment,
io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext,
UndertowHttpFacade facade) |
protected int |
getConfidentilPort(io.undertow.server.HttpServerExchange exchange) |
keycloakAuthenticate, sendChallenge
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)
protected RequestAuthenticator createRequestAuthenticator(KeycloakDeployment deployment, io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext, UndertowHttpFacade facade)
protected int getConfidentilPort(io.undertow.server.HttpServerExchange exchange)
Copyright © 2014. All Rights Reserved.