public abstract class XPathPolicyIndex extends PolicyIndexBase implements PolicyIndex
ACTION_KEY, ENVIRONMENT_KEY, indexed, indexMap, m_policyReader, METADATA_POLICY_NS, namespaces, RESOURCE_KEY, SUBJECT_CATEGORY_DEFAULT, 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,Collection<AttributeBean>> attributeMap)
Creates an XPath query from the attributes
|
protected static void |
getXpath(Map<String,Collection<AttributeBean>> attributeMap,
StringBuilder sb) |
static Map<String,String> |
getXpathVariables(Map<String,Collection<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,Collection<AttributeBean>> attributeMap)
attributeMap - protected static String getXpath(Map<String,Collection<AttributeBean>> attributeMap)
attributeMap - attributes from requestprotected static void getXpath(Map<String,Collection<AttributeBean>> attributeMap, StringBuilder sb)
Copyright © 2015 DuraSpace. All Rights Reserved.