Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » users » [javadoc | source]
org.apache.catalina.users
public class: MemoryUserDatabaseFactory [javadoc | source]
java.lang.Object
   org.apache.catalina.users.MemoryUserDatabaseFactory

All Implemented Interfaces:
    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:

Method from org.apache.catalina.users.MemoryUserDatabaseFactory Summary:
getObjectInstance
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.users.MemoryUserDatabaseFactory Detail:
 public Object getObjectInstance(Object obj,
    Name name,
    Context nameCtx,
    Hashtable environment) throws Exception 

    Create and return a new MemoryUserDatabase instance that has been configured according to the properties of the specified Reference. If you instance can be created, return null instead.