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:
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]| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getObjectInstance(Object
The possibly null object containing location or
reference information that can be used in creating an object obj, Name The name of this object relative to name, Context nameCtxThe context relative to which the nameCtx, Hashtable<?, ?> name
parameter is specified, or null if name
is relative to the default initial contextThe possibly null environment that is used in
creating this object environment)Implements javax. Create and return a new |
| MemoryUserDatabaseFactory | back to summary |
|---|---|
| public MemoryUserDatabaseFactory() | |
| getObjectInstance | back to summary |
|---|---|
| public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception Implements javax. Create and return a new
| |