Class EjwsUserTable<A extends EjwsAuthenticator,E extends EjwsAuthenticator.Entry>

java.lang.Object
org.bzdev.ejws.EjwsUserTable<A,E>
Direct Known Subclasses:
GPGSecureBasicUT

public class EjwsUserTable<A extends EjwsAuthenticator,E extends EjwsAuthenticator.Entry> extends Object
Default user-table implementation. This class is used by subclasses of EjwsAuthenticator to manage a map that associates user names with entries used by an authenticator. It provides the operations needed by EjwsBasicAuthenticator and EjwsSecureBasicAuth, which require a simpler API than instances of Map provides.

Subclasses of this class can be written so that user data is stored in a database, or whatever type of persistent storage is desired. A sublcass should override hasDB() so that it will always return true. A subclass should also override the following protected methods:

In all three cases, the first argument is a string providing a user name, often an email address.