|
Apache Tomcat 7.0.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.naming.ContextAccessController
public class ContextAccessController
Handles the access control on the JNDI contexts.
Constructor Summary | |
---|---|
ContextAccessController()
|
Method Summary | |
---|---|
static boolean |
checkSecurityToken(Object name,
Object token)
Check a submitted security token. |
static boolean |
isWritable(Object name)
Returns if a context is writable. |
static void |
setReadOnly(Object name)
Set whether or not a context is writable. |
static void |
setSecurityToken(Object name,
Object token)
Set a security token for a context. |
static void |
setWritable(Object name,
Object token)
Allow writing to a context. |
static void |
unsetSecurityToken(Object name,
Object token)
Remove a security token for a context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextAccessController()
Method Detail |
---|
public static void setSecurityToken(Object name, Object token)
name
- Name of the contexttoken
- Security tokenpublic static void unsetSecurityToken(Object name, Object token)
name
- Name of the contexttoken
- Security tokenpublic static boolean checkSecurityToken(Object name, Object token)
name
- Name of the contexttoken
- Submitted security tokenpublic static void setWritable(Object name, Object token)
name
- Name of the contexttoken
- Security tokenpublic static void setReadOnly(Object name)
name
- Name of the contextpublic static boolean isWritable(Object name)
name
- Name of the context
|
Apache Tomcat 7.0.39 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |