public final class PasswdUserDatabase extends Object implements UserDatabase
UserDatabase interface
 that processes the /etc/passwd file on a Unix system.| Constructor and Description | 
|---|
| PasswdUserDatabase() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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<String> | getUsers()Return an enumeration of the usernames defined on this server. | 
| void | setUserConfig(UserConfig userConfig)Set the UserConfig listener with which we are associated. | 
public UserConfig getUserConfig()
getUserConfig in interface UserDatabasepublic void setUserConfig(UserConfig userConfig)
setUserConfig in interface UserDatabaseuserConfig - The new UserConfig listenerpublic String getHome(String user)
getHome in interface UserDatabaseuser - User for which a home directory should be retrievedpublic Enumeration<String> getUsers()
getUsers in interface UserDatabaseCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.