public class DigestAuthenticationMechanism extends Object implements io.undertow.security.api.AuthenticationMechanism
HttpHandler
to handle HTTP Digest authentication, both according to RFC-2617 and draft update to allow additional
algorithms to be used.Constructor and Description |
---|
DigestAuthenticationMechanism(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms,
List<io.undertow.security.impl.DigestQop> supportedQops,
String realmName,
String domain,
io.undertow.security.api.NonceManager nonceManager) |
DigestAuthenticationMechanism(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms,
List<io.undertow.security.impl.DigestQop> supportedQops,
String realmName,
String domain,
io.undertow.security.api.NonceManager nonceManager,
String mechanismName) |
DigestAuthenticationMechanism(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms,
List<io.undertow.security.impl.DigestQop> supportedQops,
String realmName,
String domain,
io.undertow.security.api.NonceManager nonceManager,
String mechanismName,
io.undertow.security.idm.IdentityManager identityManager) |
DigestAuthenticationMechanism(String realmName,
String domain,
String mechanismName) |
DigestAuthenticationMechanism(String realmName,
String domain,
String mechanismName,
io.undertow.security.idm.IdentityManager identityManager) |
Modifier and Type | Method and Description |
---|---|
io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome |
authenticate(io.undertow.server.HttpServerExchange exchange,
io.undertow.security.api.SecurityContext securityContext) |
io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome |
handleDigestHeader(io.undertow.server.HttpServerExchange exchange,
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 DigestAuthenticationMechanism(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms, List<io.undertow.security.impl.DigestQop> supportedQops, String realmName, String domain, io.undertow.security.api.NonceManager nonceManager)
public DigestAuthenticationMechanism(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms, List<io.undertow.security.impl.DigestQop> supportedQops, String realmName, String domain, io.undertow.security.api.NonceManager nonceManager, String mechanismName)
public DigestAuthenticationMechanism(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms, List<io.undertow.security.impl.DigestQop> supportedQops, String realmName, String domain, io.undertow.security.api.NonceManager nonceManager, String mechanismName, io.undertow.security.idm.IdentityManager identityManager)
public DigestAuthenticationMechanism(String realmName, String domain, String mechanismName)
public io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)
authenticate
in interface io.undertow.security.api.AuthenticationMechanism
public io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome handleDigestHeader(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)
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 © 2018 JBoss by Red Hat. All rights reserved.