public class JASPICAuthenticationMechanism extends Object implements io.undertow.security.api.AuthenticationMechanism
AuthenticationMechanism implementation that enables JASPI-based authentication.
| Modifier and Type | Field and Description |
|---|---|
static io.undertow.util.AttachmentKey<Boolean> |
AUTH_RUN |
static int |
DEFAULT_ERROR_CODE |
static io.undertow.util.AttachmentKey<io.undertow.server.HttpServerExchange> |
HTTP_SERVER_EXCHANGE_ATTACHMENT_KEY |
static io.undertow.util.AttachmentKey<io.undertow.security.api.SecurityContext> |
SECURITY_CONTEXT_ATTACHMENT_KEY |
| Constructor and Description |
|---|
JASPICAuthenticationMechanism(String securityDomain,
String configuredAuthMethod) |
| Modifier and Type | Method and Description |
|---|---|
io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome |
authenticate(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext sc) |
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<io.undertow.server.HttpServerExchange> HTTP_SERVER_EXCHANGE_ATTACHMENT_KEY
public static final io.undertow.util.AttachmentKey<io.undertow.security.api.SecurityContext> SECURITY_CONTEXT_ATTACHMENT_KEY
public static final io.undertow.util.AttachmentKey<Boolean> AUTH_RUN
public static final int DEFAULT_ERROR_CODE
public io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext sc)
authenticate in interface io.undertow.security.api.AuthenticationMechanismpublic 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.AuthenticationMechanismCopyright © 2020 JBoss by Red Hat. All rights reserved.