|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines methods for restricting the functions or values a user is allowed to enter for a given attribute.
Method Summary | |
void |
checkUserValue(com.sun.xacml.attr.AttributeValue value,
com.sun.xacml.attr.AttributeDesignator attribute)
Determines if the user entered value is valid. |
void |
filterFunctions(java.util.Set functions,
com.sun.xacml.attr.AttributeDesignator attribute)
Removes functions that should not be available for the user to apply to an attribute. |
boolean |
getAllowedValues(java.util.Set values,
com.sun.xacml.attr.AttributeDesignator attribute)
Determines which values the user may select for an attribute. |
Method Detail |
public void filterFunctions(java.util.Set functions, com.sun.xacml.attr.AttributeDesignator attribute)
functions
- The Set
of functions to modify in place.attribute
- The relevant attributepublic boolean getAllowedValues(java.util.Set values, com.sun.xacml.attr.AttributeDesignator attribute)
values
- The Set
to which allowed values should be added.attribute
- The relevant attribute
public void checkUserValue(com.sun.xacml.attr.AttributeValue value, com.sun.xacml.attr.AttributeDesignator attribute) throws com.sun.xacml.ParsingException
value
- The value to checkattribute
- The relevant attribute
com.sun.xacml.ParsingException
- if the user entered value is invalid
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |