org.apache.catalina.startup
Class PasswdUserDatabase
java.lang.Object
org.apache.catalina.startup.PasswdUserDatabase
- UserDatabase
public final class PasswdUserDatabase
extends java.lang.Object
Concrete implementation of the UserDatabase interface
that processes the /etc/passwd
file on a Unix system.
Version:
- Craig R. McClanahan
String | getHome(String user) - Return an absolute pathname to the home directory for the specified user.
|
UserConfig | getUserConfig() - Return the UserConfig listener with which we are associated.
|
Enumeration | getUsers() - Return an enumeration of the usernames defined on this server.
|
void | setUserConfig(UserConfig userConfig) - Set the UserConfig listener with which we are associated.
|
PasswdUserDatabase
public PasswdUserDatabase()
Initialize a new instance of this user database component.
getHome
public String getHome(String user)
Return an absolute pathname to the home directory for the specified user.
- getHome in interface UserDatabase
user
- User for which a home directory should be retrieved
getUsers
public Enumeration getUsers()
Return an enumeration of the usernames defined on this server.
- getUsers in interface UserDatabase
setUserConfig
public void setUserConfig(UserConfig userConfig)
Set the UserConfig listener with which we are associated.
- setUserConfig in interface UserDatabase
userConfig
- The new UserConfig listener
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.