1.1 Policies

As part of understanding how policies work, it is important to understand the components of policies.

  • Policies are made up of rules.

  • A rule is a set of conditions (see Section 12.0, Conditions) that must be met before a defined action (see Section 13.0, Actions) occurs.

  • Actions can have dynamic arguments that derive from tokens that are expanded at runtime.

  • Tokens are broken up into two classifications: nouns and verbs.

    • Noun tokens (see Section 14.0, Noun Tokens) expand to values that are derived from the current operation, the source or destination data stores, or some external source.

    • Verb tokens (see Section 15.0, Verb Tokens) modify the concatenated results of other tokens that are subordinate to them.

  • Regular expressions (see Regular Expressionsin NetIQ Identity Manager Understanding Policies Guide) and XPath 1.0 expressions (see XPath 1.0 Expressionsin NetIQ Identity Manager Understanding Policies Guide) are commonly used in the rules to create the desired results for the policies.

  • A policy operates on an XDS document and its primary purpose is to examine and modify that document.

  • An operation is any element in the XDS document that is a child of the input element and the output element. The elements are part of nds.dtd; for more information, see NDS DTD in the Identity Manager DTD Reference Documentation.

  • An operation usually represents an event, a command, or a status.

  • The policy is applied separately to each operation. As the policy is applied to each operation in turn, that operation becomes the current operation. Each rule is applied sequentially to the current operation. All of the rules are applied to the current operation unless an action is executed by a prior rule that causes subsequent rules to no longer be applied.

  • A policy can also get additional context from outside of the document and cause side effects that are not reflected in the result document.