public class ContextAccessController
extends java.lang.Object
Constructor and Description |
---|
ContextAccessController() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static void setSecurityToken(java.lang.Object name, java.lang.Object token)
name
- Name of the contexttoken
- Security tokenpublic static void unsetSecurityToken(java.lang.Object name, java.lang.Object token)
name
- Name of the contexttoken
- Security tokenpublic static boolean checkSecurityToken(java.lang.Object name, java.lang.Object token)
name
- Name of the contexttoken
- Submitted security tokenpublic 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 contextCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.