public class ClientCertAuthenticationMechanism extends Object implements AuthenticationMechanism
AuthenticationMechanism.AuthenticationMechanismOutcome, AuthenticationMechanism.ChallengeResult
Modifier and Type | Field and Description |
---|---|
static io.undertow.security.impl.ClientCertAuthenticationMechanism.Factory |
FACTORY |
static String |
FORCE_RENEGOTIATION |
Constructor and Description |
---|
ClientCertAuthenticationMechanism() |
ClientCertAuthenticationMechanism(boolean forceRenegotiation) |
ClientCertAuthenticationMechanism(String mechanismName) |
ClientCertAuthenticationMechanism(String mechanismName,
boolean forceRenegotiation) |
Modifier and Type | Method and Description |
---|---|
AuthenticationMechanism.AuthenticationMechanismOutcome |
authenticate(HttpServerExchange exchange,
SecurityContext securityContext)
Perform authentication of the request.
|
AuthenticationMechanism.ChallengeResult |
sendChallenge(HttpServerExchange exchange,
SecurityContext securityContext)
Send an authentication challenge to the remote client.
|
public static final String FORCE_RENEGOTIATION
public static final io.undertow.security.impl.ClientCertAuthenticationMechanism.Factory FACTORY
public ClientCertAuthenticationMechanism()
public ClientCertAuthenticationMechanism(boolean forceRenegotiation)
public ClientCertAuthenticationMechanism(String mechanismName)
public ClientCertAuthenticationMechanism(String mechanismName, boolean forceRenegotiation)
public AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(HttpServerExchange exchange, SecurityContext securityContext)
AuthenticationMechanism
authenticate
in interface AuthenticationMechanism
exchange
- The exchangepublic AuthenticationMechanism.ChallengeResult sendChallenge(HttpServerExchange exchange, SecurityContext securityContext)
AuthenticationMechanism
AuthenticationMechanism.ChallengeResult
and the most appropriate
overall response code will be selected.sendChallenge
in interface AuthenticationMechanism
exchange
- The exchangesecurityContext
- The security contextAuthenticationMechanism.ChallengeResult
indicating if a challenge was sent and the desired response code.Copyright © 2014 JBoss by Red Hat. All rights reserved.