Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop web services - Addressing (WS-Addressing) > Enable Web Services Addressing support for JAX-WS applications > Enable Web Services Addressing support for JAX-WS applications using policy sets


Create policy sets

We can use the administrative console to either create a policy set by specifying all the necessary information or by copying an existing policy set that you rename. We can use policy sets, or assertions that define services, to simplify your web services configuration because policy sets group security and other web services settings into reusable units. To create a new policy set, you can either specify the information to create a new policy set or you can copy and rename an existing policy set. Using either method, you need basic information about the policy set to create, such as the name, description, policies to include, policy details, attachments, and binding configurations. If you are creating a policy set by copying an existing policy set, then you should also view the existing policy sets to choose one with properties that are most similar to the one you plan to create. Whether you choose to create a new policy set or copy and rename an existing one, start from the Applications policy sets collection in the administrative console.


Procedure

  1. From the administrative console, click Services > Policy sets > Application policy sets or Services > Policy sets > System policy sets.

  2. If the policy set you are creating is:

    • a new policy set, then click New.
    • an existing policy set to be copied and renamed, click the Select box beside the name of the policy set to be copied in the Name column and click Copy.

    Using either method, this action opens the Policy set settings view to specify the required information about the policy set being created or copied.

  3. The policy set to create or copy in the Name field.

  4. Enter a brief description of the policy set in the Description field. This is the description that displays in the Application policy sets or the System policy set collection, so it must be meaningful to you and other potential users of this policy set.

    If you created a new policy set, it does not contain policies to edit until you add them to the policy set. The policy set is initially empty.


Results

You have provided the basic information to create a policy set.


Example

After we have looked at your web services, you might decide that the WS-I RSP default policy set most closely meets your needs. You would go to the administrative console and click Services > Policy sets > Application policy sets to access the Application policy sets collection. Locate the WS-I RSP default in the Name column of the table and click the box beside it (in the Select column). Click Copy. This opens the Policy set settings window. You might want to name your policy set by your company or division so you could provide a name like ABC WS-I RSP in the Name field. Because you know others in your organization might access and use it, you've chosen a name that is meaningful to those people too. You want to be sure everyone knows exactly what this copy of the WS-I RSP policy is used for, so you add a description in the Description field describing it. Now to customize the policy set so you edit the policy information by clicking the name of a policy to edit it.

When you identify the requirements of your web service, you might decide that none of the default policy sets meet your needs closely enough to use them as a template so you might decide to create your own policy set. You would first create the policy set with the name you choose to give it. As if you were reusing an existing template, you would go to the administrative console and click Services > Policy sets > Application policy sets and click New. The Policy set settings window opens but note that the Policy set name field is blank and there are not yet any associated policies in the table. Enter the name and add any policies necessary.

When you add policies to a policy set, the policies are set to their default values. We can then edit the policies to modify any attribute values that need to be changed and save the settings.


What to do next

If you are creating a new policy set without copying an existing policy set, specify the policy information. If you are copying an existing policy set, you can either accept the default policies associated with the policy set or you can change the policies.


Related


WS-I RSP default policy sets
SecureConversation default policy sets
WS-ReliableMessaging default policy sets
WSAddressing default policy set
Web Services Security default policy sets
WSTransaction default policy sets
WSHTTPS default policy set
Copy of default policy set and bindings settings
Web Services Addressing support
Web services policy sets
Web services policies
Modify policy sets
Delete policy sets
Manage policies in a policy set
Create policy sets using wsadmin.sh
Create policy set attachments using wsadmin
Remove policy set attachments using wsadmin
Manage policy set attachments using wsadmin
Manage policy sets


Related


Application policy sets collection
Application policy set settings

+

Search Tips   |   Advanced Search