org.apache.catalina.startup
public final class: PasswdUserDatabase [javadoc |
source]
java.lang.Object
org.apache.catalina.startup.PasswdUserDatabase
All Implemented Interfaces:
UserDatabase
Concrete implementation of the
UserDatabase interface
that processes the /etc/passwd file on a Unix system.- 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.PasswdUserDatabase 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. |