| Package | Description |
|---|---|
| org.glassfish.contextpropagation.bootstrap | |
| org.glassfish.contextpropagation.internal |
| Modifier and Type | Method and Description |
|---|---|
void |
ContextAccessController.checkAccessAllowed(String key,
AccessControlledMap.ContextAccessLevel type)
Checks if access is allowed and throws an InsufficientCredentialException
if access is not allowed.
|
abstract boolean |
ContextAccessController.isAccessAllowed(String key,
AccessControlledMap.ContextAccessLevel type)
Checks whether access of type
type is allowed
on key based on the user associated to the
current thread. |
| Modifier and Type | Method and Description |
|---|---|
static AccessControlledMap.ContextAccessLevel |
AccessControlledMap.ContextAccessLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessControlledMap.ContextAccessLevel[] |
AccessControlledMap.ContextAccessLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017. All rights reserved.