WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results
             New or updated topic for this feature pack

Creating policy sets using the administrative console

You 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. You 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.

Before you begin

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 that you want 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.

About this task

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.
  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 of the table on the Application policy sets collection) 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.
  3. Enter the name of the policy set you want to create in the Policy Set Name field. If you are creating a new policy set, this field is blank. If you are copying a policy set, the name is provided but can be changed.
  4. Enter (or edit the existing) brief description of the policy set in the Description field. This is the description that displays in the Application Policy Sets collection so it must be meaningful to you and other potential users of this policy set.
  5. Optional: Edit the policy information. You can include, exclude, add or delete policies for this policy set.

Results

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

Example

After you have looked at your Web services, you might decide that the RAMP 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 RAMP default in the Name column of the table and click the box beside it (in the Select column). Click the Copy button. 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 RAMP 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 RAMP policy is used for, so you add a description in the Description field describing it. Now you want 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 the New button. 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.

Note: The policies, initially, are set to their default values. You 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, you need to 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.



In this information ...


IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/twbs_wsspsnew.html