public abstract class UndertowKeycloakAuthMech 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 |
Constructor and Description |
---|
UndertowKeycloakAuthMech(AdapterDeploymentContext deploymentContext) |
Modifier and Type | Method and Description |
---|---|
protected io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome |
keycloakAuthenticate(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext,
RequestAuthenticator authenticator)
Call this inside your authenticate method.
|
protected void |
registerNotifications(io.undertow.security.api.SecurityContext securityContext) |
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
public UndertowKeycloakAuthMech(AdapterDeploymentContext deploymentContext)
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.AuthenticationMechanism
protected void registerNotifications(io.undertow.security.api.SecurityContext securityContext)
protected io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome keycloakAuthenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext, RequestAuthenticator authenticator)
Copyright © 2015. All Rights Reserved.