public class ClientCertAuthenticator extends Object implements Authenticator
| Constructor and Description |
|---|
ClientCertAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
authenticate(UserRealm realm,
String pathInContext,
HttpRequest request,
HttpResponse response)
Authenticate.
|
String |
getAuthMethod() |
int |
getMaxHandShakeSeconds() |
void |
setMaxHandShakeSeconds(int maxHandShakeSeconds) |
public int getMaxHandShakeSeconds()
public void setMaxHandShakeSeconds(int maxHandShakeSeconds)
maxHandShakeSeconds - Maximum time to wait for SSL handshake if
Client certification is required.public Principal authenticate(UserRealm realm, String pathInContext, HttpRequest request, HttpResponse response) throws IOException
Authenticatorauthenticate in interface Authenticatorrealm - an UserRealm valuepathInContext - a String valuerequest - a HttpRequest valueresponse - a HttpResponse value. If non-null response is passed,
then a failed authentication will result in a challenge response being
set in the response.IOExceptionpublic String getAuthMethod()
getAuthMethod in interface AuthenticatorCopyright © 2015. All Rights Reserved.