public class JASPIAuthenticationMechanism 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<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 |
---|
JASPIAuthenticationMechanism(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 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.AuthenticationMechanism
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
Copyright © 2014 JBoss by Red Hat. All rights reserved.