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

All Implemented Interfaces:

Field Summary
protected static final  String info    Descriptive information about this Realm implementation. 
protected static final  String name    Descriptive information about this Realm implementation. 
 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