Class MemoryUserDatabaseFactory

java.lang.Object
org.apache.catalina.users.MemoryUserDatabaseFactory
All Implemented Interfaces:
ObjectFactory

public class MemoryUserDatabaseFactory extends Object implements ObjectFactory

JNDI object creation factory for MemoryUserDatabase instances. This makes it convenient to configure a user database in the global JNDI resources associated with this Catalina instance, and then link to that resource for web applications that administer the contents of the user database.

The MemoryUserDatabase instance is configured based on the following parameter values:

  • pathname - Absolute or relative (to the directory path specified by the catalina.base system property) pathname to the XML file from which our user information is loaded, and to which it is stored. [conf/tomcat-users.xml]
Since:
4.1
Author:
Craig R. McClanahan