Package org.apache.catalina.startup
Class PasswdUserDatabase
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
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetUsers()voidsetUserConfig(UserConfig userConfig) Set the UserConfig listener with which we are associated.
- 
Constructor Details- 
PasswdUserDatabasepublic PasswdUserDatabase()
 
- 
- 
Method Details- 
getUserConfig- Specified by:
- getUserConfigin interface- UserDatabase
- Returns:
- the UserConfig listener with which we are associated.
 
- 
setUserConfigDescription copied from interface:UserDatabaseSet the UserConfig listener with which we are associated.- Specified by:
- setUserConfigin interface- UserDatabase
- Parameters:
- userConfig- The new UserConfig listener
 
- 
getHome- Specified by:
- getHomein interface- UserDatabase
- Parameters:
- user- User for which a home directory should be retrieved
- Returns:
- an absolute pathname to the home directory for the specified user.
 
- 
getUsers- Specified by:
- getUsersin interface- UserDatabase
- Returns:
- an enumeration of the usernames defined on this server.
 
 
-