base64BinaryIsIn Function Description
Description
Returns true if the value of the first parameter is in the bag of values of the second parameter. Attributes of type base64Binary are compared using the base64BinaryEqual function.
base64BinaryIsIn belongs to the ALFA function reference's
Bag functions category. It maps to the XACML function identifier
urn:oasis:names:tc:xacml:1.0:function:base64Binary-is-in, takes 2 arguments and returns a value of type boolean.
| Property | Value |
|---|---|
| Category | Bag functions |
| # Arguments | 2 |
| Arguments |
|
| Return Value | boolean |
| Expressed As | pre-fix |
| Representation | ALFA short name |
| Allowed In Target | true |
| ALFA Shorthand | None |
| Commutative | false |
Example
/**
* Permit if the bag of values base64.a contains a single value and if that value is
* in the bag of values represented by base64.b
*/
rule base64BinaryIsInExample{
permit
condition base64BinaryIsIn(base64BinaryOneAndOnly(base64.a),base64.b)
}
Permit if the bag of values base64.a contains a single value and if that value is in the bag of values represented by base64.b
Related Functions
Other functions in the Bag functions category: