| Package | Description |
|---|---|
| org.fcrepo.server.security.xacml.pdp.data | |
| org.fcrepo.server.security.xacml.pdp.finder.policy |
| Modifier and Type | Method and Description |
|---|---|
String |
PolicyIndex.addPolicy(String name,
String document)
Generates a policy based on the string data provided and the name.
|
String |
ExistPolicyIndex.addPolicy(String name,
String document) |
String |
DbXmlPolicyIndex.addPolicy(String name,
String document) |
boolean |
PolicyIndex.clear()
Clear the policy index completely
|
boolean |
ExistPolicyIndex.clear() |
boolean |
DbXmlPolicyIndex.clear() |
boolean |
PolicyIndex.contains(String policyName)
Check if the policy identified by policyName exists.
|
boolean |
ExistPolicyIndex.contains(String policyName) |
boolean |
DbXmlPolicyIndex.contains(String policyName)
Check if the policy identified by policyName exists.
|
protected org.xmldb.api.base.Collection |
ExistPolicyIndex.createCollectionPath(String collectionPath,
org.xmldb.api.base.Collection rootCollection)
Create a collection given a full path to the collection.
|
protected static Document |
ExistPolicyIndex.createDocument(String document) |
protected void |
ExistPolicyIndex.deleteCollection()
delete the policy collection from the database
|
boolean |
PolicyIndex.deletePolicy(String name)
Removes the policy given by name from the data store.
|
boolean |
ExistPolicyIndex.deletePolicy(String name) |
boolean |
DbXmlPolicyIndex.deletePolicy(String name) |
protected org.xmldb.api.base.ResourceSet |
ExistPolicyIndex.doQuery(String query,
Map<String,String> variables) |
Map<String,com.sun.xacml.AbstractPolicy> |
PolicyIndex.getPolicies(com.sun.xacml.EvaluationCtx eval,
com.sun.xacml.finder.PolicyFinder policyFinder)
Extracts a list of policies from the Policy Index that are relevant to
the given Evaluation Context.
|
Map<String,com.sun.xacml.AbstractPolicy> |
ExistPolicyIndex.getPolicies(com.sun.xacml.EvaluationCtx eval,
com.sun.xacml.finder.PolicyFinder policyFinder) |
Map<String,com.sun.xacml.AbstractPolicy> |
DbXmlPolicyIndex.getPolicies(com.sun.xacml.EvaluationCtx eval,
com.sun.xacml.finder.PolicyFinder policyFinder) |
com.sun.xacml.AbstractPolicy |
PolicyIndex.getPolicy(String name,
com.sun.xacml.finder.PolicyFinder policyFinder)
Obtains the policy with the provided name from the Policy Store.
|
com.sun.xacml.AbstractPolicy |
ExistPolicyIndex.getPolicy(String name,
com.sun.xacml.finder.PolicyFinder policyFinder) |
com.sun.xacml.AbstractPolicy |
DbXmlPolicyIndex.getPolicy(String name,
com.sun.xacml.finder.PolicyFinder policyFinder) |
void |
ExistPolicyIndex.init() |
void |
DbXmlPolicyIndex.init() |
protected void |
ExistPolicyIndex.initCollection() |
void |
ExistPolicyIndex.initDatabase() |
protected static byte[] |
ExistPolicyIndex.nodeToByte(Node node)
get XML document supplied as w3c dom Node as bytes
|
boolean |
PolicyIndex.updatePolicy(String name,
String newDocument)
Generates a new policy based for the given policy name and replaces the
old policy in the Policy Store with it.
|
boolean |
ExistPolicyIndex.updatePolicy(String name,
String newDocument) |
boolean |
DbXmlPolicyIndex.updatePolicy(String name,
String newDocument) |
| Constructor and Description |
|---|
DbXmlPolicyIndex(PolicyReader policyReader) |
ExistPolicyIndex(PolicyReader policyReader) |
PolicyIndexBase(PolicyReader policyReader) |
XPathPolicyIndex(PolicyReader policyReader) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.xacml.AbstractPolicy |
PolicyManager.getPolicy(com.sun.xacml.EvaluationCtx eval)
Obtains a policy or policy set of matching policies from the policy
store.
|
| Constructor and Description |
|---|
GenericPolicyFinderModule(PolicyIndex policyIndex,
com.sun.xacml.combine.PolicyCombiningAlgorithm combiningAlg) |
Copyright © 2013 DuraSpace. All Rights Reserved.