| org.apache.geronimo.tomcat.realm.TomcatJAASRealm
TomcatJAASRealm | public class TomcatJAASRealm extends JAASRealm implements Cloneable(Code) | | version: $Rev: 565657 $ $Date: 2007-08-14 01:24:58 -0700 (Tue, 14 Aug 2007) $ |
Field Summary | |
final protected static String | info Descriptive information about this Realm implementation. | final protected static String | name Descriptive information about this Realm implementation. |
info | final protected static String info(Code) | | Descriptive information about this Realm implementation.
|
name | final protected static String name(Code) | | Descriptive information about this Realm implementation.
|
TomcatJAASRealm | public TomcatJAASRealm()(Code) | | |
authenticate | public Principal authenticate(String username, String credentials)(Code) | | 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.
Parameters: username - Username of the Principal to look up Parameters: credentials - Password or other credentials to use in authenticating thisusername |
|
|