Package org.keycloak.adapters.undertow
Class UndertowAuthenticationMechanism
java.lang.Object
org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech
org.keycloak.adapters.undertow.UndertowAuthenticationMechanism
- All Implemented Interfaces:
io.undertow.security.api.AuthenticationMechanism
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.undertow.security.api.AuthenticationMechanism
io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome, io.undertow.security.api.AuthenticationMechanism.ChallengeResult -
Field Summary
FieldsFields inherited from class org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech
deploymentContext, errorPage, KEYCLOAK_CHALLENGE_ATTACHMENT_KEY, sessionManagement -
Constructor Summary
ConstructorsConstructorDescriptionUndertowAuthenticationMechanism(AdapterDeploymentContext deploymentContext, UndertowUserSessionManagement sessionManagement, NodesRegistrationManagement nodesRegistrationManagement, int confidentialPort, String errorPage) -
Method Summary
Modifier and TypeMethodDescriptionio.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcomeauthenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext) Methods inherited from class org.keycloak.adapters.undertow.AbstractUndertowKeycloakAuthMech
createFacade, getTokenStore, keycloakAuthenticate, registerNotifications, sendChallenge, servePage
-
Field Details
-
nodesRegistrationManagement
-
confidentialPort
protected int confidentialPort
-
-
Constructor Details
-
UndertowAuthenticationMechanism
public UndertowAuthenticationMechanism(AdapterDeploymentContext deploymentContext, UndertowUserSessionManagement sessionManagement, NodesRegistrationManagement nodesRegistrationManagement, int confidentialPort, String errorPage)
-
-
Method Details
-
authenticate
public io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)
-