org.mortbay.http
public class ClientCertAuthenticator extends Object implements Authenticator
Version: $Id: ClientCertAuthenticator.java,v 1.15 2006/02/28 12:45:01 gregwilkins Exp $
| Constructor Summary | |
|---|---|
| ClientCertAuthenticator() | |
| Method Summary | |
|---|---|
| Principal | authenticate(UserRealm realm, String pathInContext, HttpRequest request, HttpResponse response) |
| String | getAuthMethod() |
| int | getMaxHandShakeSeconds() |
| void | setMaxHandShakeSeconds(int maxHandShakeSeconds) |
Returns: UserPrinciple if authenticated or null if not. If Authentication fails, then the authenticator may have committed the response as an auth challenge or redirect.
Throws: IOException
Parameters: maxHandShakeSeconds Maximum time to wait for SSL handshake if Client certification is required.