|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.xacml.locators.AbstractJBossPolicyLocator
public abstract class AbstractJBossPolicyLocator
Base Class for Policy Locators
Field Summary | |
---|---|
protected Map<String,Object> |
map
|
protected List<Option> |
options
|
protected Set<XACMLPolicy> |
policies
|
Fields inherited from interface org.jboss.security.xacml.interfaces.AbstractLocator |
---|
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 Summary | |
---|---|
AbstractJBossPolicyLocator()
|
Method Summary | ||
---|---|---|
|
get(String key)
Get an element from the map |
|
Set<XACMLPolicy> |
getPolicies()
Get the set of policies that the locator can return |
|
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<Option> options
protected Map<String,Object> map
protected Set<XACMLPolicy> policies
Constructor Detail |
---|
public AbstractJBossPolicyLocator()
Method Detail |
---|
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
- Key
ContextMapOp.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |