Package org.apache.catalina.startup
Class HomesUserDatabase
- java.lang.Object
- 
- org.apache.catalina.startup.HomesUserDatabase
 
- 
- All Implemented Interfaces:
- UserDatabase
 
 public final class HomesUserDatabase extends java.lang.Object implements UserDatabase Concrete implementation of theUserDatabaseinterface considers all directories in a directory whose pathname is specified to our constructor to be "home" directories for those users.- Author:
- Craig R. McClanahan
 
- 
- 
Constructor SummaryConstructors Constructor Description HomesUserDatabase()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHome(java.lang.String user)Return an absolute pathname to the home directory for the specified user.UserConfiggetUserConfig()Return the UserConfig listener with which we are associated.java.util.Enumeration<java.lang.String>getUsers()Return an enumeration of the user names defined on this server.voidsetUserConfig(UserConfig userConfig)Set the UserConfig listener with which we are associated.
 
- 
- 
- 
Method Detail- 
getUserConfigpublic UserConfig getUserConfig() Return the UserConfig listener with which we are associated.- Specified by:
- getUserConfigin interface- UserDatabase
- Returns:
- the UserConfig listener with which we are associated.
 
 - 
setUserConfigpublic void setUserConfig(UserConfig userConfig) Set the UserConfig listener with which we are associated.- Specified by:
- setUserConfigin interface- UserDatabase
- Parameters:
- userConfig- The new UserConfig listener
 
 - 
getHomepublic java.lang.String getHome(java.lang.String user) Return an absolute pathname to the home directory for the specified user.- 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.
 
 - 
getUserspublic java.util.Enumeration<java.lang.String> getUsers() Return an enumeration of the user names defined on this server.- Specified by:
- getUsersin interface- UserDatabase
- Returns:
- an enumeration of the usernames defined on this server.
 
 
- 
 
-