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 Catalina context is writable.
|
static void |
setSecurityToken(java.lang.Object name,
java.lang.Object token)
Set a security token for a Catalina 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 Catalina contexttoken
- Security tokenpublic static void unsetSecurityToken(java.lang.Object name, java.lang.Object token)
name
- Name of the Catalina contexttoken
- Security tokenpublic static boolean checkSecurityToken(java.lang.Object name, java.lang.Object token)
name
- Name of the Catalina contexttoken
- Submitted security tokenpublic static void setWritable(java.lang.Object name, java.lang.Object token)
name
- Name of the Catalina contexttoken
- Security tokenpublic static void setReadOnly(java.lang.Object name)
name
- Name of the Catalina contextpublic static boolean isWritable(java.lang.Object name)
name
- Name of the Catalina contextCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.