Interface UserDatabase
- All Known Implementing Classes:
HomesUserDatabase, PasswdUserDatabase
public interface UserDatabase
Abstraction of the set of users defined by the operating system on the current server platform.
-
Method Summary
Modifier and TypeMethodDescriptionReturn an absolute pathname to the home directory for the specified user.Return the UserConfig listener with which we are associated.getUsers()Return an enumeration of the usernames defined on this server.voidsetUserConfig(UserConfig userConfig) Set the UserConfig listener with which this UserDatabase is associated.
-
Method Details
-
getUserConfig
UserConfig getUserConfig()Return the UserConfig listener with which we are associated.- Returns:
- the UserConfig listener
-
setUserConfig
Set the UserConfig listener with which this UserDatabase is associated.- Parameters:
userConfig- The new UserConfig listener
-
getHome
-
getUsers
Enumeration<String> getUsers()Return an enumeration of the usernames defined on this server.- Returns:
- the enumeration of usernames
-