public class ServletKeycloakAuthMech extends AbstractUndertowKeycloakAuthMech
Modifier and Type | Field and Description |
---|---|
protected NodesRegistrationManagement |
nodesRegistrationManagement |
protected io.undertow.servlet.api.ConfidentialPortManager |
portManager |
deploymentContext, errorPage, KEYCLOAK_CHALLENGE_ATTACHMENT_KEY, sessionManagement
Constructor and Description |
---|
ServletKeycloakAuthMech(AdapterDeploymentContext deploymentContext,
UndertowUserSessionManagement userSessionManagement,
NodesRegistrationManagement nodesRegistrationManagement,
io.undertow.servlet.api.ConfidentialPortManager portManager,
String errorPage) |
Modifier and Type | Method and Description |
---|---|
io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome |
authenticate(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext) |
UndertowHttpFacade |
createFacade(io.undertow.server.HttpServerExchange exchange) |
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) |
protected AdapterTokenStore |
getTokenStore(io.undertow.server.HttpServerExchange exchange,
HttpFacade facade,
KeycloakDeployment deployment,
io.undertow.security.api.SecurityContext securityContext) |
protected Integer |
servePage(io.undertow.server.HttpServerExchange exchange,
String location) |
keycloakAuthenticate, registerNotifications, sendChallenge
protected NodesRegistrationManagement nodesRegistrationManagement
protected io.undertow.servlet.api.ConfidentialPortManager portManager
public ServletKeycloakAuthMech(AdapterDeploymentContext deploymentContext, UndertowUserSessionManagement userSessionManagement, NodesRegistrationManagement nodesRegistrationManagement, io.undertow.servlet.api.ConfidentialPortManager portManager, String errorPage)
protected Integer servePage(io.undertow.server.HttpServerExchange exchange, String location)
servePage
in class AbstractUndertowKeycloakAuthMech
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)
protected AdapterTokenStore getTokenStore(io.undertow.server.HttpServerExchange exchange, HttpFacade facade, KeycloakDeployment deployment, io.undertow.security.api.SecurityContext securityContext)
getTokenStore
in class AbstractUndertowKeycloakAuthMech
public UndertowHttpFacade createFacade(io.undertow.server.HttpServerExchange exchange)
createFacade
in class AbstractUndertowKeycloakAuthMech
Copyright © 2019 JBoss by Red Hat. All rights reserved.