|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 token
public static void unsetSecurityToken(Object name,
Object token)
name - Name of the contexttoken - Security token
public static boolean checkSecurityToken(Object name,
Object token)
name - Name of the contexttoken - Submitted security token
public 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.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||