public abstract class AbstractJBossPolicyLocator extends Object implements PolicyLocator
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
map |
protected List<Option> |
options |
protected List<PolicyFinderModule> |
pfml |
protected Set<XACMLPolicy> |
policies |
ATTRIBUTE_DESIGNATOR_INTEGER_TAG, ATTRIBUTE_DESIGNATOR_SUPPORT_TAG, ATTRIBUTE_SELECTOR_SUPPORT_TAG, ATTRIBUTE_SUPPORTED_ID_TAG, IDENTIFIER_TAG, RESOURCE_CHILD_SUPPORTED_TAG, RESOURCE_DESCENDANT_SUPPORTED_TAG| Constructor and Description |
|---|
AbstractJBossPolicyLocator() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String key)
Get an element from the map
|
Set<XACMLPolicy> |
getPolicies()
Get the set of policies that the locator can return
|
<T> void |
set(String key,
T obj)
Set an object on the map
|
void |
setOptions(List<Option> theoptions)
Set a list of options on the locator
|
abstract void |
setPolicies(Set<XACMLPolicy> policies)
Set of policies that this locator is able to return
|
protected Set<XACMLPolicy> policies
protected List<PolicyFinderModule> pfml
public void setOptions(List<Option> theoptions)
AbstractLocatorsetOptions in interface AbstractLocatorAbstractLocator.setOptions(List)public <T> T get(String key)
ContextMapOpget in interface ContextMapOpT - object from the mapkey - KeyContextMapOp.get(String)public <T> void set(String key, T obj)
ContextMapOpset in interface ContextMapOpkey - Key for the mapobj - Object to be placedContextMapOp.set(String, Object)public abstract void setPolicies(Set<XACMLPolicy> policies)
PolicyLocatorsetPolicies in interface PolicyLocatorPolicyLocator.setPolicies(Set)public Set<XACMLPolicy> getPolicies()
PolicyLocatorgetPolicies in interface PolicyLocatorPolicyLocator.getPolicies()Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.