Top Description Methods
org.apache.catalina.startup

public Interface UserDatabase

Known Direct Implementers
org.apache.catalina.startup.HomesUserDatabase, org.apache.catalina.startup.PasswdUserDatabase
Imports
java.util.Enumeration

Abstraction of the set of users defined by the operating system on the current server platform.
Author
Craig R. McClanahan

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

an absolute pathname to the home directory for the specified user.
getHome
(String
User for which a home directory should be retrieved
user
)

public UserConfig

Returns:

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

public Enumeration<String>

Returns:

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

public void
setUserConfig(UserConfig
The new UserConfig listener
userConfig
)

Set the UserConfig listener with which we are associated.

Method Detail

getHomeback to summary
public String getHome(String user)
Parameters
user:String

User for which a home directory should be retrieved

Returns:String

an absolute pathname to the home directory for the specified user.

getUserConfigback to summary
public UserConfig getUserConfig()
Returns:UserConfig

the UserConfig listener with which we are associated.

getUsersback to summary
public Enumeration<String> getUsers()
Returns:Enumeration<String>

an enumeration of the usernames defined on this server.

setUserConfigback to summary
public void setUserConfig(UserConfig userConfig)

Set the UserConfig listener with which we are associated.

Parameters
userConfig:UserConfig

The new UserConfig listener