Edit a Policy Fragment
Policy fragments are edited in the same manner as service policies. Keep the following in mind:
gateway83
Policy fragments are edited in the same manner as service policies. Keep the following in mind:
- When you save the active version of a fragment, the changes are effective immediately in all policies using that fragment.
- A new revision is created every time you save changes to a policy fragment.
To edit a policy fragment:
- Load the fragment into the policy development window using one of the following methods:
- Double-click the fragment name in the Services and Policies list. This loads the "active" version of the fragment.
- Right-click the fragment name in the Services and Policies list and then select Active Policy Assertions. This loads the "active" version of the fragment.
- Right-click the fragment name in the policy window and then select Active Policy Assertions. This loads the "active" version of the fragment.
- Right-click the fragment name in the Services and Policies list and then select Revision History. This lets you edit any version of the fragment or set any version as the "active" version.
- Modify the fragment as necessary.
- Save the changes using either [Save] or [Save and Activate].
Policy Fragments Used in an Encapsulated Assertion
Policy fragments that serve as the backing policy for encapsulated assertions have additional functionality:
- You can view the properties of the encapsulated assertion that uses this fragment as its backing policy. To do this, right-click the fragment name in the Services and Policies list and then selectEncapsulated Assertion Properties. If the fragment serves as a backing policy for more than one encapsulated assertion (which is not recommended), choose which assertion to view.
- When you load a policy fragment for editing, the inputs and outputs defined for its associated encapsulated assertion are displayed above the policy development window.
(1) You can show/hide the list of inputs/outputs by toggling the
Inputs
and Outputs
option on the View menu (available in the desktop client only). (2) You can resize the space for the inputs/outputs list by dragging the split bar between the list and the policy window.