WAS v8.5 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets > Manage policies in a policy set

Delete policies from policy sets

We can use the dmgr console to delete policies from policy sets. Deleting the policy removes the policy that further defined the rules governing the policy set.

Before deleting a policy from a policy set, be sure that you no longer want the policy to be available to the policy set. Otherwise, consider disabling it so that it is still available to the policy set but not currently associated with the policy set. We can disable the policy and leave it available for the policy set by clicking the Select button by the policy to be disabled and then clicking the Disable button. That policy (and any configuration changes we have made to it) is still available to the policy set but is not currently included in the policy set.

To delete a policy from a policy set, use the dmgr console.

  1. Click Services > Policy sets > Application policy sets > policy_set_name or Services > Policy sets > System policy sets > policy_set_name. The Policy set settings page displays a listing of available policies in the Policies table of the Policy set settings page for the policy set selected. If we created a new policy set and did not copy and rename an existing policy set, this table might contain no policies to delete.
  2. Delete the policy from the policy set.

    1. Click the Select box beside the policy to delete in the Policies table of the Policy set settings page.

    2. Click the Delete button.

  3. Verify to delete the selected policy from the policy set.


Results

You have deleted the policy from the policy set.


Example

If we have a policy set containing a policy that you no longer want included in that policy set, we have two options: disable it or delete it. In some cases, you might want to disable the policy if we have configured attributes for it that you might want to enable at a later time. We can disable the policy and leave it available for the policy set by clicking the Select button by the policy to be disabled and then clicking the Disable button. But for this example, we have decided the policy WS-Addressing is no longer valid for the custom policy set ABC_ps and you and to delete it. To delete it, click the Select button beside the WS-Addressing policy and then click Delete. Confirm to delete the policy.

We can now add other policies to the policy set or enable or disable existing policies.


Related


Add policies to policy sets
Enable policies for policy sets
Disable policies from policy sets
Web services policies
Remove policy set attachments using wsadmin


Reference:

Application policy sets page
Application policy set settings


+

Search Tips   |   Advanced Search