public abstract class UndertowKeycloakAuthMech extends Object implements io.undertow.security.api.AuthenticationMechanism
| Modifier and Type | Field and Description |
|---|---|
static io.undertow.util.AttachmentKey<AuthChallenge> |
KEYCLOAK_CHALLENGE_ATTACHMENT_KEY |
| Constructor and Description |
|---|
UndertowKeycloakAuthMech() |
| Modifier and Type | Method and Description |
|---|---|
protected io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome |
keycloakAuthenticate(io.undertow.server.HttpServerExchange exchange,
RequestAuthenticator authenticator)
Call this inside your authenticate method.
|
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
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.AuthenticationMechanismprotected io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome keycloakAuthenticate(io.undertow.server.HttpServerExchange exchange,
RequestAuthenticator authenticator)
Copyright © 2014. All Rights Reserved.