Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » web » tomcat » tc4 » authenticator » [javadoc | source]
org.jboss.web.tomcat.tc4.authenticator
public class: SSLAuthenticator [javadoc | source]
java.lang.Object
   org.apache.catalina.authenticator.AuthenticatorBase
      org.jboss.web.tomcat.tc4.authenticator.AuthenticatorBase
         org.jboss.web.tomcat.tc4.authenticator.SSLAuthenticator
An Authenticator and Valve implementation of authentication that utilizes SSL certificates to identify client users.

Differs from the standard Tomcat version in that it 1) associates the session of any request with any single sign-on session that may exist and 2) only ignores its own authentication process if a given request already has a Principal bound to it AND this object's cache property is set to true.

Field Summary
protected static final  String info    Descriptive information about this implementation. 
Fields inherited from org.jboss.web.tomcat.tc4.authenticator.AuthenticatorBase:
info,  ourSSO
Method from org.jboss.web.tomcat.tc4.authenticator.SSLAuthenticator Summary:
authenticate,   getInfo,   start,   stop
Methods from org.jboss.web.tomcat.tc4.authenticator.AuthenticatorBase:
associate,   reauthenticateFromSSO,   register,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.tc4.authenticator.SSLAuthenticator Detail:
 public boolean authenticate(HttpRequest request,
    HttpResponse response,
    LoginConfig config) throws IOException 
    Authenticate the user by checking for the existence of a certificate chain (which should have been made visible by an instance of CertificatesValve Differs from the standard Tomcat version in that it
    1. it associates the session of any request with any single sign-on session that may exist.
    2. If the request already has an authenticated Principal, our own authentication is only disabled if getCache() returns true.
 public String getInfo() 
    Return descriptive information about this Valve implementation.
 public  void start() throws LifecycleException 
    Initialize the database we will be using for client verification and certificate validation (if any).
 public  void stop() throws LifecycleException 
    Finalize the database we used for client verification and certificate validation (if any).