|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.naming.ContextAccessController
Handles the access control on the JNDI contexts.
Constructor Summary | |
ContextAccessController()
|
Method Summary | |
static boolean |
checkSecurityToken(java.lang.Object name,
java.lang.Object token)
Check a submitted security token. |
static boolean |
isWritable(java.lang.Object name)
Returns if a context is writable. |
static void |
setReadOnly(java.lang.Object name)
Set whether or not a context is writable. |
static void |
setSecurityToken(java.lang.Object name,
java.lang.Object token)
Set a security token for a context. |
static void |
setWritable(java.lang.Object name,
java.lang.Object token)
Allow writing to a context. |
static void |
unsetSecurityToken(java.lang.Object name,
java.lang.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(java.lang.Object name, java.lang.Object token)
name
- Name of the contextpublic static void unsetSecurityToken(java.lang.Object name, java.lang.Object token)
name
- Name of the contextpublic static boolean checkSecurityToken(java.lang.Object name, java.lang.Object token)
name
- Name of the contextpublic static void setWritable(java.lang.Object name, java.lang.Object token)
name
- Name of the contexttoken
- Security tokenpublic static void setReadOnly(java.lang.Object name)
name
- Name of the contextpublic static boolean isWritable(java.lang.Object name)
name
- Name of the context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |