public class DatabaseAuthenticator extends Authenticator
PasswordRetriever implementation that performs
authentication against a database.
Copyright 2006, Sans Pareil Technologies, Inc.
Authenticator.ManagerTasklogger, user, userMap, userName| Constructor and Description |
|---|
DatabaseAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
protected User |
fetchUser()
Fetch the user object from the database and populate the fields
of
Authenticator.user. |
getPassword, getUser, getUserName, setUser, setUserNameprotected User fetchUser() throws com.withay.http.PasswordRetrievalException
Authenticator.user. Adds a new entry into Authenticator.userMap.fetchUser in class Authenticatorcom.withay.http.PasswordRetrievalException - If errors are encountered while
fetching the database object.