The DirXML Script contains explicit support for implementing entitlement policies. The <if-entitlement>
condition is used to determine if a given entitlement has been granted or is changing.
The <token-entitlement>, <token-added-entitlement>
, and <token-removed-entitlement>
tokens are used to get a list of the granted or revoked entitlements.
The <do-implement-entitlement> action is used to mark policy actions that implement entitlements so that the results of the entitlement can be automatically logged to DirXML-EntitlementResult.
The entitlement tokens return a nodeset containing 0 or more <entitlement-impl> elements that can be used to get information about the entitlements and can be passed as an arguments to <do-implement-entitlement>.