org.apache.naming
public class ContextAccessController extends Object
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
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.
|
Parameters: name Name of the context token Submitted security token
Parameters: name Name of the context
Parameters: name Name of the context
Parameters: name Name of the context token Security token
Parameters: name Name of the context token Security token
Parameters: name Name of the context token Security token