|
Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.security.SecurityListener
public class SecurityListener
Constructor Summary | |
---|---|
SecurityListener()
|
Method Summary | |
---|---|
protected void |
checkOsUser()
|
protected void |
checkUmask()
|
protected void |
doChecks()
Execute the security checks. |
String |
getCheckedOsUsers()
Returns the current list of operating system users not permitted to run Tomcat. |
String |
getMinimumUmask()
Get the minimum umask that must be configured before Tomcat will start. |
void |
lifecycleEvent(LifecycleEvent event)
Acknowledge the occurrence of the specified event. |
void |
setCheckedOsUsers(String userNameList)
Set the list of operating system users not permitted to run Tomcat. |
void |
setMinimumUmask(String umask)
Set the minimum umask that must be configured before Tomcat will start. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityListener()
Method Detail |
---|
public void lifecycleEvent(LifecycleEvent event)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredpublic void setCheckedOsUsers(String userNameList)
userNameList
- A comma separated list of operating system users not
permitted to run Tomcatpublic String getCheckedOsUsers()
public void setMinimumUmask(String umask)
umask
- The 4-digit umask as returned by the OS command umaskpublic String getMinimumUmask()
protected void doChecks()
protected void checkOsUser()
protected void checkUmask()
|
Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |