org.apache.catalina.startup

Interface UserDatabase

Known Implementing Classes:
HomesUserDatabase, PasswdUserDatabase

public interface UserDatabase

Abstraction of the set of users defined by the operating system on the current server platform.

Version:
$Revision: 1.2 $ $Date: 2004/02/27 14:58:49 $

Author:
Craig R. McClanahan

Method Summary

String
getHome(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.
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.

Method Details

getHome

public 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


getUserConfig

public UserConfig getUserConfig()
Return the UserConfig listener with which we are associated.


getUsers

public Enumeration getUsers()
Return an enumeration of the usernames defined on this server.


setUserConfig

public void setUserConfig(UserConfig userConfig)
Set the UserConfig listener with which we are associated.

Parameters:
userConfig - The new UserConfig listener


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.