~xxxxx, where xxxxx is the username of the owning user for that web
application
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Pattern | allow
A regular expression defining user who deployment is allowed. |
| private String | configClass
The Java class name of the Context configuration class we should use. |
| private String | contextClass
The Java class name of the Context implementation we should use. |
| pack-priv Pattern | deny
A regular expression defining user who deployment is denied. |
| private String | directoryName
The directory name to be searched for within each user home directory. |
| private String | homeBase
The base directory containing user home directories. |
| private Host | host
The Host we are associated with. |
| private static final Log | |
| private static final StringManager | sm
The string resources for this package. |
| private String | userClass
The Java class name of the user database class we should use. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | deploy()
Deploy a web application for any user who has a web application present in a directory with a specified name within their home directory. |
| private void | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| private boolean | Returns: true if this user is allowed to deploy, false otherwiseTest allow and deny rules for the provided user. |
| public void | lifecycleEvent(LifecycleEvent
The lifecycle event that has occurred event)Implements org. Process the START event for an associated Host. |
| public void | |
| public void | setConfigClass(String
The new Context configuration class name. configClass)Set the Context configuration class name. |
| public void | setContextClass(String
The new Context implementation class name. contextClass)Set the Context implementation class name. |
| public void | |
| public void | setDirectoryName(String
The new directory name directoryName)Set the directory name for user web applications. |
| public void | setHomeBase(String
The new base directory homeBase)Set the base directory containing user home directories. |
| public void | setUserClass(String
The user database class name userClass)Set the user database class name for this component. |
| private void | |
| private void |
| allow | back to summary |
|---|---|
| pack-priv Pattern allow A regular expression defining user who deployment is allowed. | |
| configClass | back to summary |
|---|---|
| private String configClass The Java class name of the Context configuration class we should use. | |
| contextClass | back to summary |
|---|---|
| private String contextClass The Java class name of the Context implementation we should use. | |
| deny | back to summary |
|---|---|
| pack-priv Pattern deny A regular expression defining user who deployment is denied. | |
| directoryName | back to summary |
|---|---|
| private String directoryName The directory name to be searched for within each user home directory. | |
| homeBase | back to summary |
|---|---|
| private String homeBase The base directory containing user home directories. | |
| host | back to summary |
|---|---|
| private Host host The Host we are associated with. | |
| log | back to summary |
|---|---|
| private static final Log log | |
| sm | back to summary |
|---|---|
| private static final StringManager sm The string resources for this package. | |
| userClass | back to summary |
|---|---|
| private String userClass The Java class name of the user database class we should use. | |
| UserConfig | back to summary |
|---|---|
| public UserConfig() | |
| deploy | back to summary |
|---|---|
| private void deploy() Deploy a web application for any user who has a web application present in a directory with a specified name within their home directory. | |
| deploy | back to summary |
|---|---|
| private void deploy(String user, String home) Deploy a web application for the specified user if they have such an application in the defined directory within their home directory. | |
| getAllow | back to summary |
|---|---|
public String getAllow()
| |
| getConfigClass | back to summary |
|---|---|
public String getConfigClass()
| |
| getContextClass | back to summary |
|---|---|
public String getContextClass()
| |
| getDeny | back to summary |
|---|---|
public String getDeny()
| |
| getDirectoryName | back to summary |
|---|---|
public String getDirectoryName()
| |
| getHomeBase | back to summary |
|---|---|
public String getHomeBase()
| |
| getUserClass | back to summary |
|---|---|
public String getUserClass()
| |
| isDeployAllowed | back to summary |
|---|---|
| private boolean isDeployAllowed(String user) Test allow and deny rules for the provided user.
| |
| lifecycleEvent | back to summary |
|---|---|
| public void lifecycleEvent(LifecycleEvent event) Implements org. Process the START event for an associated Host.
| |
| setAllow | back to summary |
|---|---|
| public void setAllow(String allow) Set the regular expression used to test for user who deployment is allowed.
| |
| setConfigClass | back to summary |
|---|---|
| public void setConfigClass(String configClass) Set the Context configuration class name.
| |
| setContextClass | back to summary |
|---|---|
| public void setContextClass(String contextClass) Set the Context implementation class name.
| |
| setDeny | back to summary |
|---|---|
| public void setDeny(String deny) Set the regular expression used to test for user who deployment is denied.
| |
| setDirectoryName | back to summary |
|---|---|
| public void setDirectoryName(String directoryName) Set the directory name for user web applications.
| |
| setHomeBase | back to summary |
|---|---|
| public void setHomeBase(String homeBase) Set the base directory containing user home directories.
| |
| setUserClass | back to summary |
|---|---|
| public void setUserClass(String userClass) Set the user database class name for this component.
| |
| start | back to summary |
|---|---|
| private void start() Process a "start" event for this Host. | |
| stop | back to summary |
|---|---|
| private void stop() Process a "stop" event for this Host. | |
| Modifier and Type | Field and Description |
|---|---|
| private UserConfig | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| config | back to summary |
|---|---|
| private UserConfig config | |
| home | back to summary |
|---|---|
| private String home | |
| user | back to summary |
|---|---|
| private String user | |
| DeployUserDirectory | back to summary |
|---|---|
| pack-priv DeployUserDirectory(UserConfig config, String user, String home) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |