|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.security.vops.xacml.policy.PolicyApply
public class PolicyApply
This implements Apply function in Policy Rule's section.
Field Summary | |
---|---|
private java.util.ArrayList<PolicyApply> |
alApply
|
private java.util.List |
applyArgs
|
com.sun.xacml.cond.Function |
applyFunction
|
private com.sun.xacml.attr.AttributeValue |
attribute
|
private com.sun.xacml.attr.AttributeDesignator |
attributeDesignator
|
(package private) com.sun.xacml.cond.FunctionFactory |
factory
|
private java.lang.String |
functionId
|
Constructor Summary | |
---|---|
PolicyApply()
|
|
PolicyApply(PolicyApply e,
com.sun.xacml.attr.AttributeValue value)
Constructs just attributeValue label with no apply function |
|
PolicyApply(java.lang.String applyFunctionStr)
Constructs Apply XACML object with provided function, designator, type and id. |
|
PolicyApply(java.lang.String applyFunctionStr,
int attrDesignator,
java.net.URI designatorType,
com.sun.xacml.attr.AttributeValue value,
java.net.URI designatorId)
Constructs Apply XACML object with provided function, designator, type and id. |
|
PolicyApply(java.lang.String applyFunctionStr,
int attrDesignator,
java.net.URI designatorType,
java.net.URI designatorId)
Constructs Apply XACML object with provided function, designator, type and id. |
|
PolicyApply(java.lang.String applyFunctionStr,
int attrDesignator,
java.net.URI designatorType,
java.net.URI designatorId,
com.sun.xacml.attr.AttributeValue value)
Constructs Apply XACML object with provided function, designator, type and id. |
Method Summary | |
---|---|
void |
addAlApply(PolicyApply pa)
Adds Apply objects |
void |
addToApplyArgs(com.sun.xacml.attr.AttributeValue pa)
Adds Attribute direct to apply arguments list. |
java.util.ArrayList<PolicyApply> |
getAlApply()
Gets ArrayList of Apply objects. |
java.util.List |
getApply()
Returns Apply of the Condition block. |
com.sun.xacml.cond.Function |
getApplyFunction()
Gets Apply function. |
com.sun.xacml.attr.AttributeValue |
getAttribute()
|
com.sun.xacml.attr.AttributeDesignator |
getAttributeDesignator()
|
java.lang.String |
getFunctionId()
|
void |
parse(XMLSearchEngine xse,
java.util.Hashtable<java.lang.String,java.lang.Object> inData)
Parses Apply part of the XACML policy file. |
void |
setApplyFunction(java.lang.String applyFunction)
|
void |
setAttribute(com.sun.xacml.attr.AttributeValue attribute)
|
void |
setAttributeDesignator(com.sun.xacml.attr.AttributeDesignator attributeDesignator)
|
void |
setFunctionId(java.lang.String functionId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.ArrayList<PolicyApply> alApply
private java.lang.String functionId
private com.sun.xacml.attr.AttributeValue attribute
private com.sun.xacml.attr.AttributeDesignator attributeDesignator
private java.util.List applyArgs
com.sun.xacml.cond.FunctionFactory factory
public com.sun.xacml.cond.Function applyFunction
Constructor Detail |
---|
public PolicyApply()
public PolicyApply(PolicyApply e, com.sun.xacml.attr.AttributeValue value)
e
- value
- public PolicyApply(java.lang.String applyFunctionStr, int attrDesignator, java.net.URI designatorType, java.net.URI designatorId) throws java.lang.Exception
applyFunctionStr
- Which function to useattrDesignator
- To which attribute this function will apply todesignatorType
- DataType of the designatordesignatorId
- Id of the attribute designator.
java.lang.Exception
public PolicyApply(java.lang.String applyFunctionStr) throws java.lang.Exception
applyFunctionStr
- Which function to useattrDesignator
- To which attribute this function will apply todesignatorType
- DataType of the designatordesignatorId
- Id of the attribute designator.
java.lang.Exception
public PolicyApply(java.lang.String applyFunctionStr, int attrDesignator, java.net.URI designatorType, java.net.URI designatorId, com.sun.xacml.attr.AttributeValue value) throws java.lang.Exception
applyFunctionStr
- attrDesignator
- designatorType
- designatorId
- value
-
java.lang.Exception
public PolicyApply(java.lang.String applyFunctionStr, int attrDesignator, java.net.URI designatorType, com.sun.xacml.attr.AttributeValue value, java.net.URI designatorId) throws java.lang.Exception
applyFunctionStr
- attrDesignator
- designatorType
- value
- designatorId
-
java.lang.Exception
Method Detail |
---|
public java.util.ArrayList<PolicyApply> getAlApply()
public java.util.List getApply()
public void addAlApply(PolicyApply pa)
alApply
- public void addToApplyArgs(com.sun.xacml.attr.AttributeValue pa)
alApply
- public java.lang.String getFunctionId()
public void setFunctionId(java.lang.String functionId)
public com.sun.xacml.attr.AttributeValue getAttribute()
public void setAttribute(com.sun.xacml.attr.AttributeValue attribute)
public com.sun.xacml.attr.AttributeDesignator getAttributeDesignator()
public void setAttributeDesignator(com.sun.xacml.attr.AttributeDesignator attributeDesignator)
public void parse(XMLSearchEngine xse, java.util.Hashtable<java.lang.String,java.lang.Object> inData) throws java.lang.Exception
xse
- inData
-
java.lang.Exception
public com.sun.xacml.cond.Function getApplyFunction()
public void setApplyFunction(java.lang.String applyFunction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |