Modify policies using the admin console
With the policy sets, we can define policies for WS-Addressing, WS-Security, WS-ReliableMessaging, WS-Transaction, HTTP transport, JMS transport, and SSL transport. The policies for all but WS-Security are relatively straightforward to define.
The provided default policy sets cannot be edited. We can create a copy of the default policy set or create a completely new policy set in order to specify the policies for it.
Polices are associated with policy sets, so we can change an instance of a policy for a particular policy set.
- Select the policy set containing the policy you want to modify. To customize the policies associated with a policy set, from the admin console, click:
- Services > Policy sets > Application policy sets >policy_set_name. Click a policy name in the Policies table.
- Or Services > Policy sets > System policy sets >policy_set_name. Click a policy name in the Policies table.
- Modify the settings. Depending on which Policy you choose, different settings can be modified.
- [Optional] If the policy to be modified is not already in the Policies table, click Add and select a policy from the list to modify.
- Save the changes we have made. Once you change the settings on a policy, we need to save the changes to return to the policy set.
Results
The policy set configuration is saved with the selected modifications.
Example
we have created a copy of the WSReliableMessaging persistent policy set and named it WSRM_p1. You want to change the settings on the WSReliableMessaging policy that is included, by default, in the copy of this policy set. So you click the WSRM_p1 policy set from the Application policy sets window and then click the WSReliableMessaging policy from the Policies table. We can then alter the following settings:
- Standard
- The default setting is WSReliableMessaging 1.1.
- Deliver messages in the order that they were sent
- The default setting is false. Valid values are true or false.
- Quality of service
- The default is Unmanaged non-persistent
Save the changes and return to the Application policy sets window for the WSRM_p1 policy set.
Next steps
Use the policy set as we have configured or we can change the bindings, attach or detach the policy set from applications.Because this policy set specifies managed persistent quality of service, we have to define bindings to the service integration bus and messaging engine to use to manage the WS-ReliableMessaging state. We can attach and bind a WS-ReliableMessaging policy set to a Web service application using the admin console or using wsadmin.
Set the WS-ReliableMessaging policy
Set the WS-Addressing policy
Set the HTTP transport policy
Set the JMS transport policy
Set the SSL transport policy
Set the WS-Transaction policy
Set the WS-Security policy
Related tasks
Attach a policy set to a service artifact
Manage policy sets
Add policies to policy sets
Delete policies from policy sets
Enable policies for policy sets
Disable policies from policy sets
Web services policies
Add and remove policies using wsadmin
Create policy set attachments using wsadmin
Remove policy set attachments using wsadmin
Manage policy set attachments using wsadmin
Manage policies in a policy set
Related
Application policy sets collection
Application policy set settings