|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.catalina.realm.RealmBase
|
+--org.apache.catalina.realm.JDBCRealm
|
+--org.infoglue.cms.util.InfoGlueCMSJDBCRealm
| Field Summary |
| Fields inherited from interface org.apache.catalina.Lifecycle |
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, START_EVENT, STOP_EVENT |
| Constructor Summary | |
InfoGlueCMSJDBCRealm()
|
|
| Method Summary | |
java.security.Principal |
authenticate(java.sql.Connection dbConnection,
java.lang.String username,
java.lang.String credentials)
Return the Principal associated with the specified username and credentials, if there is one; otherwise return null. |
| Methods inherited from class org.apache.catalina.realm.JDBCRealm |
authenticate, getConnectionName, getConnectionPassword, getConnectionURL, getDriverName, getRoleNameCol, getUserCredCol, getUserNameCol, getUserRoleTable, getUserTable, setConnectionName, setConnectionPassword, setConnectionURL, setDriverName, setRoleNameCol, setUserCredCol, setUserNameCol, setUserRoleTable, setUserTable, start, stop |
| Methods inherited from class org.apache.catalina.realm.RealmBase |
addLifecycleListener, addPropertyChangeListener, authenticate, authenticate, authenticate, Digest, findLifecycleListeners, getContainer, getDebug, getDigest, getInfo, getValidate, hasRole, main, removeLifecycleListener, removePropertyChangeListener, setContainer, setDebug, setDigest, setValidate |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InfoGlueCMSJDBCRealm()
| Method Detail |
public java.security.Principal authenticate(java.sql.Connection dbConnection,
java.lang.String username,
java.lang.String credentials)
throws java.sql.SQLException
null.
authenticate in class org.apache.catalina.realm.JDBCRealmdbConnection - The database connection to be usedusername - Username of the Principal to look upcredentials - Password or other credentials to use in
authenticating this username
java.sql.SQLException - if a database error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||