|
Apache Tomcat 7.0.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.startup.UserConfig
public final class UserConfig
Startup event listener for a Host that configures Contexts (web
applications) for all defined "users" who have a web application in a
directory with the specified name in their home directories. The context
path of each deployed application will be set to ~xxxxx
, where
xxxxx is the username of the owning user for that web application
Field Summary | |
---|---|
protected java.util.regex.Pattern |
allow
A regular expression defining user who deployment is allowed. |
protected java.util.regex.Pattern |
deny
A regular expression defining user who deployment is denied. |
Constructor Summary | |
---|---|
UserConfig()
|
Method Summary | |
---|---|
java.lang.String |
getAllow()
Return the regular expression used to test for user who deployment is allowed. |
java.lang.String |
getConfigClass()
Return the Context configuration class name. |
java.lang.String |
getContextClass()
Return the Context implementation class name. |
java.lang.String |
getDeny()
Return the regular expression used to test for user who deployment is denied. |
java.lang.String |
getDirectoryName()
Return the directory name for user web applications. |
java.lang.String |
getHomeBase()
Return the base directory containing user home directories. |
java.lang.String |
getUserClass()
Return the user database class name for this component. |
void |
lifecycleEvent(LifecycleEvent event)
Process the START event for an associated Host. |
void |
setAllow(java.lang.String allow)
Set the regular expression used to test for user who deployment is allowed. |
void |
setConfigClass(java.lang.String configClass)
Set the Context configuration class name. |
void |
setContextClass(java.lang.String contextClass)
Set the Context implementation class name. |
void |
setDeny(java.lang.String deny)
Set the regular expression used to test for user who deployment is denied. |
void |
setDirectoryName(java.lang.String directoryName)
Set the directory name for user web applications. |
void |
setHomeBase(java.lang.String homeBase)
Set the base directory containing user home directories. |
void |
setUserClass(java.lang.String userClass)
Set the user database class name for this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.regex.Pattern allow
protected java.util.regex.Pattern deny
Constructor Detail |
---|
public UserConfig()
Method Detail |
---|
public java.lang.String getConfigClass()
public void setConfigClass(java.lang.String configClass)
configClass
- The new Context configuration class name.public java.lang.String getContextClass()
public void setContextClass(java.lang.String contextClass)
contextClass
- The new Context implementation class name.public java.lang.String getDirectoryName()
public void setDirectoryName(java.lang.String directoryName)
directoryName
- The new directory namepublic java.lang.String getHomeBase()
public void setHomeBase(java.lang.String homeBase)
homeBase
- The new base directorypublic java.lang.String getUserClass()
public void setUserClass(java.lang.String userClass)
public java.lang.String getAllow()
public void setAllow(java.lang.String allow)
allow
- The new allow expressionpublic java.lang.String getDeny()
public void setDeny(java.lang.String deny)
deny
- The new deny expressionpublic void lifecycleEvent(LifecycleEvent event)
lifecycleEvent
in interface LifecycleListener
event
- The lifecycle event that has occurred
|
Apache Tomcat 7.0.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |