public class ClientCertAuthenticationMechanism extends Object implements AuthenticationMechanism
When authenticate is called the current request is checked to see if it a SSL request, this is further checked to identify if the client has been verified at the SSL level.
|Modifier and Type||Class and Description|
| || |
|Constructor and Description|
|Modifier and Type||Method and Description|
| || |
Perform authentication of the request.
| || |
Send an authentication challenge to the remote client.
public ClientCertAuthenticationMechanism(boolean forceRenegotiation)
public ClientCertAuthenticationMechanism(String mechanismName)
public ClientCertAuthenticationMechanism(String mechanismName, boolean forceRenegotiation)
public AuthenticationMechanism.AuthenticationMechanismOutcome authenticate(HttpServerExchange exchange, SecurityContext securityContext)
public AuthenticationMechanism.ChallengeResult sendChallenge(HttpServerExchange exchange, SecurityContext securityContext)
The individual mechanisms should update the response headers and body of the message as appropriate however they should not set the response code, instead that should be indicated in the
AuthenticationMechanism.ChallengeResult and the most appropriate overall response code will be selected.
Copyright © 2015 JBoss by Red Hat. All rights reserved.