org.apache.catalina.authenticator

Class SSLAuthenticator

public class SSLAuthenticator extends AuthenticatorBase

An Authenticator and Valve implementation of authentication that utilizes SSL certificates to identify client users.

Version: $Revision: 746408 $ $Date: 2009-02-20 23:56:42 +0100 (Fri, 20 Feb 2009) $

Author: Craig R. McClanahan

Field Summary
protected static Stringinfo
Descriptive information about this implementation.
Method Summary
booleanauthenticate(Request request, Response response, LoginConfig config)
Authenticate the user by checking for the existence of a certificate chain, and optionally asking a trust manager to validate that we trust this user.
StringgetInfo()
Return descriptive information about this Valve implementation.
voidstart()
Initialize the database we will be using for client verification and certificate validation (if any).
voidstop()
Finalize the database we used for client verification and certificate validation (if any).

Field Detail

info

protected static final String info
Descriptive information about this implementation.

Method Detail

authenticate

public boolean authenticate(Request request, Response response, LoginConfig config)
Authenticate the user by checking for the existence of a certificate chain, and optionally asking a trust manager to validate that we trust this user.

Parameters: request Request we are processing response Response we are creating config Login configuration describing how authentication should be performed

Throws: IOException if an input/output error occurs

getInfo

public String getInfo()
Return descriptive information about this Valve implementation.

start

public void start()
Initialize the database we will be using for client verification and certificate validation (if any).

Throws: LifecycleException if this component detects a fatal error that prevents this component from being used

stop

public void stop()
Finalize the database we used for client verification and certificate validation (if any).

Throws: LifecycleException if this component detects a fatal error that prevents this component from being used

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.