base64BinaryAtLeastOneMemberOf Function Description
Description
This function takes in two parameters of type bag of base64Binary and returns true if there is at least one value in the first bag equal to at least one value in the second bag.
base64BinaryAtLeastOneMemberOf belongs to the ALFA function reference's
Set functions category. It maps to the XACML function identifier
urn:oasis:names:tc:xacml:1.0:function:base64Binary-at-least-one-member-of, takes 2 arguments and returns a value of type boolean.
| Property | Value |
|---|---|
| Category | Set functions |
| # Arguments | 2 |
| Arguments |
|
| Return Value | boolean |
| Expressed As | pre-fix |
| Representation | ALFA short name |
| Allowed In Target | false |
| ALFA Shorthand | None |
| Commutative | true |
Example
/**
* Permit if one value in the bag of values a is equal to at least one value in the bag
* of values b.
*/
rule base64BinaryAtLeastOneMemberOfExample{
permit
condition base64BinaryAtLeastOneMemberOf(base64.a, base64.b)
}
In this example, the rule is comparing values of type base64 inside a first bag (a) to values of the same type inside a second bag (b). Note that base64 is seldom used.
See Also
- anyOfAny
- anyURIAtLeastOneMemberOf
- booleanAtLeastOneMemberOf
- dateAtLeastOneMemberOf
- dateTimeAtLeastOneMemberOf
- dayTimeDurationAtLeastOneMemberOf
- doubleAtLeastOneMemberOf
- hexBinaryAtLeastOneMemberOf
- integerAtLeastOneMemberOf
- rfc822NameAtLeastOneMemberOf
- stringAtLeastOneMemberOf
- timeAtLeastOneMemberOf
- x500NameAtLeastOneMemberOf
- yearMonthDurationAtLeastOneMemberOf
Related Functions
Other functions in the Set functions category: