com.sptci.auth.digest
Class DatabaseAuthenticator
java.lang.Object
com.sptci.auth.digest.Authenticator
com.sptci.auth.digest.DatabaseAuthenticator
- All Implemented Interfaces:
- com.withay.http.PasswordRetriever
public class DatabaseAuthenticator
- extends Authenticator
A PasswordRetriever implementation that performs
authentication against a database.
Copyright 2006, Sans Pareil Technologies, Inc.
- Version:
- $Id: DatabaseAuthenticator.java 4553 2008-12-24 10:34:16Z rakesh $
- Author:
- Rakesh Vidyadharan 2006-11-15
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseAuthenticator
public DatabaseAuthenticator()
fetchUser
protected User fetchUser()
throws com.withay.http.PasswordRetrievalException
- Fetch the user object from the database and populate the fields
of
Authenticator.user. Adds a new entry into Authenticator.userMap.
- Specified by:
fetchUser in class Authenticator
- Returns:
- The properly initialised object.
- Throws:
com.withay.http.PasswordRetrievalException - If errors are encountered while
fetching the database object.