org.apache.catalina.startup
public final class: HomesUserDatabase [javadoc |
source]
java.lang.Object
org.apache.catalina.startup.HomesUserDatabase
All Implemented Interfaces:
UserDatabase
Concrete implementation of the
UserDatabase interface
considers all directories in a directory whose pathname is specified
to our constructor to be "home" directories for those users.- author:
Craig - R. McClanahan
- version:
$ - Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
| Method from org.apache.catalina.startup.HomesUserDatabase Detail: |
public String getHome(String user) {
return ((String) homes.get(user));
}
Return an absolute pathname to the home directory for the specified user. |
public UserConfig getUserConfig() {
// ----------------------------------------------------------- Properties
return (this.userConfig);
}
Return the UserConfig listener with which we are associated. |
public Enumeration getUsers() {
return (homes.keys());
}
Return an enumeration of the usernames defined on this server. |
public void setUserConfig(UserConfig userConfig) {
this.userConfig = userConfig;
init();
}
Set the UserConfig listener with which we are associated. |