Package org.apache.catalina.startup
Interface UserDatabase
-
- All Known Implementing Classes:
HomesUserDatabase,PasswdUserDatabase
public interface UserDatabaseAbstraction of the set of users defined by the operating system on the current server platform.- Version:
- $Revision: 1.2 $ $Date: 2005/12/08 01:28:11 $
- Author:
- Craig R. McClanahan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHome(String user)Return an absolute pathname to the home directory for the specified user.UserConfiggetUserConfig()Return the UserConfig listener with which we are associated.EnumerationgetUsers()Return an enumeration of the usernames defined on this server.voidsetUserConfig(UserConfig userConfig)Set the UserConfig listener with which we are associated.
-
-
-
Method Detail
-
getUserConfig
UserConfig getUserConfig()
Return the UserConfig listener with which we are associated.
-
setUserConfig
void setUserConfig(UserConfig userConfig)
Set the UserConfig listener with which we are associated.- Parameters:
userConfig- The new UserConfig listener
-
getHome
String getHome(String user)
Return an absolute pathname to the home directory for the specified user.- Parameters:
user- User for which a home directory should be retrieved
-
getUsers
Enumeration getUsers()
Return an enumeration of the usernames defined on this server.
-
-