Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets > Manage policies in a policy set
Add policies to policy sets
We can use the administrative console to add policies to policy sets. Adding and configuring policies to a policy set further defines the rules governing the policy set. Before adding a policy to a policy set, check that it is not listed as disabled in the Policies table. A disabled policy can be listed for the policy set and only need to be enabled to be included in the policy set. If this is the case, the policy does not need to be added and it is not available to be added. All policies are initially set to their default values. These values can be edited and the attributes changed .
Procedure
- Click Services > Policy sets > Application policy sets > policy_set_name or Services > Policy sets > System policy sets > policy_set_name. This displays a listing of available policies in the Policies table for the policy set selected. If you created a new policy set and did not copy and rename an existing policy set, this table might contain no policies and add them.
- Add a policy.
To add a policy not listed in the Policies table of the Policy set settings page, click the Add drop down button. This button displays a list of available policies that are not already listed in the Policies table and therefore not included in the policy set.
- Click the policy to be added. The selected policy is added to the Policies table. Each policy you add has default settings that can be modified.
Results
After we have added a policy, it is then included in the policy set.
Example
If you were working on policy set ABC_ps (that you created and it therefore has no policies associated with it) you would click the ABC_ps name in the Policy Sets collection and then click the Add button in the Policies table on the Policy set settings window. The drop down list displays all available policies for you to choose from. You might decide to include the WS-Addressing and WS-Security policies for this policy set. You would select each of those from the list. Then, click the policy name in the table to edit the properties of these policies.
What to do next
If the modified policy set is an attached policy set, restart all affected applications to apply the changes. If the policy set is unattached, then no further action is required.
Delete policies from policy sets
Enable policies for policy sets
Disable policies from policy sets
Web services policies
Create policy set attachments using wsadmin
Manage policies in a policy set
Related
Application policy sets collection
Application policy set settings