public interface ContextPolicyManager
Modifier and Type | Method and Description |
---|---|
Collection<ContextPolicy> |
getAllContextPolicies()
Returns a Collection of all
ContextPolicy objects |
ContextPolicy |
getContextPolicy(String path)
Returns the policy associated with the given context path.
|
boolean |
isWhiteListed(String path)
Returns true if the policy is white listed.
|
void |
setContextPolicy(String path,
ContextPolicy contextPolicy)
Sets a policy for a particular path
|
ContextPolicy getContextPolicy(String path)
path
- - context pathCollection<ContextPolicy> getAllContextPolicies()
ContextPolicy
objectsvoid setContextPolicy(String path, ContextPolicy contextPolicy)
path
- - context pathcontextPolicy
- - context policyboolean isWhiteListed(String path)
path
- - - context pathThis work is licensed under a Creative Commons Attribution 4.0 International License.