public abstract class PolicyIndexBase extends Object implements PolicyIndex
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACTION_KEY |
protected static String |
ENVIRONMENT_KEY |
boolean |
indexed |
protected Map<String,Map<String,String>> |
indexMap |
protected PolicyReader |
m_policyReader |
protected static String |
METADATA_POLICY_NS |
static Map<String,String> |
namespaces |
protected static String |
RESOURCE_KEY |
protected static URI |
SUBJECT_CATEGORY_DEFAULT |
protected static String |
SUBJECT_KEY |
XACML_RESOURCE_ID, XACML20_POLICY_NS| Modifier | Constructor and Description |
|---|---|
protected |
PolicyIndexBase(PolicyReader policyReader) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Collection<AttributeBean>> |
getAttributeMap(org.jboss.security.xacml.sunxacml.EvaluationCtx eval)
This method extracts the attributes listed in the indexMap from the given
evaluation context.
|
protected org.jboss.security.xacml.sunxacml.AbstractPolicy |
handleDocument(Document doc,
org.jboss.security.xacml.sunxacml.finder.PolicyFinder policyFinder)
A private method that handles reading the policy and creates the correct
kind of AbstractPolicy.
|
protected static String[] |
makeComponents(String resourceId)
Splits a XACML hierarchical resource-id value into a set of resource-id values
that can be matched against a policy.
|
void |
setActionAttributes(Map<String,String> attributeMap) |
protected void |
setAttributeMap(String mapKey,
Map<String,String> attributeMap) |
void |
setEnvironmentAttributes(Map<String,String> attributeMap) |
void |
setResourceAttributes(Map<String,String> attributeMap) |
void |
setSubjectAttributes(Map<String,String> attributeMap) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPolicy, clear, contains, deletePolicy, getPolicies, getPolicy, updatePolicyprotected static final String SUBJECT_KEY
protected static final String RESOURCE_KEY
protected static final String ACTION_KEY
protected static final String ENVIRONMENT_KEY
protected static final URI SUBJECT_CATEGORY_DEFAULT
public boolean indexed
protected PolicyReader m_policyReader
protected static final String METADATA_POLICY_NS
protected PolicyIndexBase(PolicyReader policyReader) throws PolicyIndexException
PolicyIndexExceptionprotected Map<String,Collection<AttributeBean>> getAttributeMap(org.jboss.security.xacml.sunxacml.EvaluationCtx eval) throws URISyntaxException
eval - the Evaluation Context from which to extract AttributesURISyntaxExceptionprotected org.jboss.security.xacml.sunxacml.AbstractPolicy handleDocument(Document doc, org.jboss.security.xacml.sunxacml.finder.PolicyFinder policyFinder) throws org.jboss.security.xacml.sunxacml.ParsingException
org.jboss.security.xacml.sunxacml.ParsingExceptionprotected static String[] makeComponents(String resourceId)
resourceId - XACML hierarchical resource-id valueCopyright © 2015 DuraSpace. All Rights Reserved.