org.apache.catalina.startup
Class PasswdUserDatabase
java.lang.Object
   org.apache.catalina.startup.PasswdUserDatabase
org.apache.catalina.startup.PasswdUserDatabase
- All Implemented Interfaces: 
- UserDatabase
- public final class PasswdUserDatabase 
- extends java.lang.Object- implements UserDatabase
Concrete implementation of the UserDatabase interface
 that processes the /etc/passwd file on a Unix system.
- Author:
- Craig R. McClanahan
| Constructor Summary | 
| PasswdUserDatabase()Initialize a new instance of this user database component.
 | 
 
| Method Summary | 
|  java.lang.String | getHome(java.lang.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.
 | 
|  java.util.Enumeration | getUsers()Return an enumeration of the usernames defined on this server.
 | 
|  void | setUserConfig(UserConfig userConfig)Set the UserConfig listener with which we are associated.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PasswdUserDatabase
public PasswdUserDatabase()
- Initialize a new instance of this user database component.
 
getUserConfig
public UserConfig getUserConfig()
- Return the UserConfig listener with which we are associated.
 
- 
- Specified by:
- getUserConfigin interface- UserDatabase
 
- 
 
setUserConfig
public void setUserConfig(UserConfig userConfig)
- Set the UserConfig listener with which we are associated.
 
- 
- Specified by:
- setUserConfigin interface- UserDatabase
 
- 
- Parameters:
- userConfig- The new UserConfig listener
 
getHome
public 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
 
getUsers
public java.util.Enumeration getUsers()
- Return an enumeration of the usernames defined on this server.
 
- 
- Specified by:
- getUsersin interface- UserDatabase
 
- 
 
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.