org.mortbay.jetty.security
public class ClientCertAuthenticator extends java.lang.Object implements Authenticator
| Constructor and Description |
|---|
ClientCertAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
java.security.Principal |
authenticate(UserRealm realm,
java.lang.String pathInContext,
Request request,
Response response)
Authenticate.
|
java.lang.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 java.security.Principal authenticate(UserRealm realm, java.lang.String pathInContext, Request request, Response response) throws java.io.IOException
Authenticatorauthenticate in interface Authenticatorrealm - an UserRealm valuepathInContext - a String valuerequest - a Request valueresponse - a Response value. If non-null response is passed,
then a failed authentication will result in a challenge response being
set in the response.java.io.IOExceptionpublic java.lang.String getAuthMethod()
getAuthMethod in interface AuthenticatorCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.