WS Policies

Add, remove or manage WS-Policy files

The Security->WS Policies accordion tab view provides WS-Policy file management capability. Clicking on the Import button shows the Import WS-Policy as shown below which can be used to upload and manage WS-Policy files

Figure 5.9. WS Policies - Import policy

WS Policies - Import policy


Tip

This feature can be used to upload WS-SecurityPolicy files which can be used to create Policy-based Security Configurations that can be used to enforce WS-Security for SOAP requests and responses.

The WS Policies tab displays all the previously uploaded policies in a table and clicking on the policy name opens the detail view on the right as shown below:

Figure 5.10. WS Policies - Edit policy details

WS Policies - Edit policy details


The detail view provides a Tree and XML editor to view the contents of the WS-Policy file. The Tree view does not allow for manipulating the contents, but the XML editor can be used to update the policy. Clicking on Save saves the update policy contents to disk.

Note

It is not possible to delete a policy file that is referenced by a Policy-based security configuration. Trying to delete a referenced policy will result in an error as shown below:

Figure 5.11. WS Policies - Delete Policy error

WS Policies - Delete Policy error