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)
AbstractLocator
setOptions
in interface AbstractLocator
AbstractLocator.setOptions(List)
public <T> T get(String key)
ContextMapOp
get
in interface ContextMapOp
T
- object from the mapkey
- KeyContextMapOp.get(String)
public <T> void set(String key, T obj)
ContextMapOp
set
in interface ContextMapOp
key
- Key for the mapobj
- Object to be placedContextMapOp.set(String, Object)
public abstract void setPolicies(Set<XACMLPolicy> policies)
PolicyLocator
setPolicies
in interface PolicyLocator
PolicyLocator.setPolicies(Set)
public Set<XACMLPolicy> getPolicies()
PolicyLocator
getPolicies
in interface PolicyLocator
PolicyLocator.getPolicies()
Copyright © 2023 JBoss by Red Hat. All rights reserved.