public abstract class XPathPolicyIndex extends PolicyIndexBase implements PolicyIndex
ACTION_KEY, ENVIRONMENT_KEY, indexed, indexMap, m_policyReader, METADATA_POLICY_NS, namespaces, RESOURCE_KEY, SUBJECT_KEYXACML_RESOURCE_ID, XACML20_POLICY_NS| Modifier | Constructor and Description |
|---|---|
protected |
XPathPolicyIndex(PolicyReader policyReader) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
getXpath(Map<String,Set<AttributeBean>> attributeMap)
Creates an XPath query from the attributes
|
static Map<String,String> |
getXpathVariables(Map<String,Set<AttributeBean>> attributeMap)
Get XPath variables to use against an xpath query
|
getAttributeMap, handleDocument, makeComponents, setActionAttributes, setAttributeMap, setEnvironmentAttributes, setResourceAttributes, setSubjectAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPolicy, clear, contains, deletePolicy, getPolicies, getPolicy, updatePolicyprotected XPathPolicyIndex(PolicyReader policyReader) throws PolicyIndexException
PolicyIndexExceptionpublic static Map<String,String> getXpathVariables(Map<String,Set<AttributeBean>> attributeMap)
attributeMap - protected static String getXpath(Map<String,Set<AttributeBean>> attributeMap)
attributeMap - attributes from requestr - number of resource-id valuesCopyright © 2013 DuraSpace. All Rights Reserved.