Class DataSourceUserDatabaseFactory

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

public class DataSourceUserDatabaseFactory extends Object implements ObjectFactory

JNDI object creation factory for DataSourceUserDatabase 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 DataSourceUserDatabase instance is configured based on the following parameter values:

  • dataSourceName - JNDI name of the DataSource, which must be located in the same Context environment as the UserDatabase
Author:
Craig R. McClanahan