|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.xacml.builder.AbstractPolicyTreeElementBuilder nbi.xmlsec.xacml.builder.AbstractPolicyBuilder nbi.xmlsec.xacml.builder.PolicySetBuilder
Class to create policy set instances.
Field Summary |
Fields inherited from class nbi.xmlsec.xacml.builder.AbstractPolicyBuilder |
combiningAlg, defaultVersion, logger, obligations, treeElements |
Fields inherited from class nbi.xmlsec.xacml.builder.AbstractPolicyTreeElementBuilder |
description, identifier, target |
Constructor Summary | |
PolicySetBuilder(URI identifier,
PolicyCombiningAlgorithm combAlg)
Creates a policy set builder instance. |
Method Summary | |
boolean |
add(AbstractPolicy policy)
Adds a policy to this policy set. |
boolean |
add(AbstractPolicyBuilder policy)
Adds a policy to this policy set. |
PolicyTreeElement |
getInstance()
Createa a new policy set instance. |
boolean |
remove(AbstractPolicy policy)
Adds a policy to this policy set. |
void |
setPolicies(List policies)
Sets the policies of this policy set. |
Methods inherited from class nbi.xmlsec.xacml.builder.AbstractPolicyBuilder |
add, add, add, add, remove, remove, setCombiningAlg, setCombiningAlg, setCombiningAlg, setDefaultVersion, setObligations, setTreeElements |
Methods inherited from class nbi.xmlsec.xacml.builder.AbstractPolicyTreeElementBuilder |
setDescription, setIdentifier, setIdentifier, setTarget, setTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolicySetBuilder(URI identifier, PolicyCombiningAlgorithm combAlg)
identifier
- policy set identifier.combAlg
- Policy combining Algorithm (DenyOverridesPolicyAlg
, FirstApplicablePolicyAlg
, OnlyOneApplicablePolicyAlg
or PermitOverridesPolicyAlg
).Method Detail |
public PolicyTreeElement getInstance()
getInstance
in interface PolicyTreeElementBuilder
getInstance
in class AbstractPolicyTreeElementBuilder
PolicyTreeElementBuilder.getInstance()
public boolean add(AbstractPolicy policy)
policy
- The policy to add.
public boolean add(AbstractPolicyBuilder policy)
policy
- The policy to add.
public boolean remove(AbstractPolicy policy)
policy
- The policy to add.
public void setPolicies(List policies)
policies
- The policies to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |