Home » geronimo-2.2-source-release » org.apache.geronimo.tomcat.realm » [javadoc | source]
org.apache.geronimo.tomcat.realm
public class: TomcatJAASRealm [javadoc | source]
java.lang.Object
   org.apache.catalina.realm.JAASRealm
      org.apache.geronimo.tomcat.realm.TomcatJAASRealm

All Implemented Interfaces:
    Cloneable

Field Summary
protected static final  String info    Descriptive information about this Realm implementation. 
protected static final  String name    Descriptive information about this Realm implementation. 
Constructor:
 public TomcatJAASRealm() 
Method from org.apache.geronimo.tomcat.realm.TomcatJAASRealm Summary:
authenticate,   clone
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.tomcat.realm.TomcatJAASRealm Detail:
 public Principal authenticate(String username,
    String credentials) 
    Return the Principal associated with the specified username and credentials, if there is one; otherwise return null.

    If there are any errors with the JDBC connection, executing the query or anything we return null (don't authenticate). This event is also logged, and the connection will be closed so that a subsequent request will automatically re-open it.

 public Object clone() throws CloneNotSupportedException