WAS v8.5 > Administer applications and their environment > Administer web services (generally applicable) > Manage web services policy sets

Importing policy sets

We can import predefined policy sets or import policy sets from a selected location using the dmgr console.

Before beginning this task, review Application policy sets collection.

The policy sets panel has an Import button to allow the import of policy sets. We can import a policy set from the default repository or from a selected location.

  1. From the dmgr console navigation, click Services > Policy sets > Application policy sets or Services > Policy sets > System policy sets. The policy sets collection page displays a listing of the custom and default policy sets. Custom policy sets are displayed only if we have created them. If we have not created a custom policy set, then only the default policy sets are displayed.

  2. From the Application policy sets panel, click Import.
  3. Choose the option for importing the policy set. Choose to import a policy set from the default repository or from a selected location. Selecting Import from Default Repository accesses the next panel that displays a set of predefined default policy sets available for you to import. Some of the predefined policy sets have already been imported for you from the default repository. We can import additional predefined policy sets available in the predefined policy set repository.

    Select Import from Selected Location to provide a path or browse your file system for a policy set file to import.

    • To import a policy set from the default repository, select Import from Default Repository and perform task step 4.
    • To import a policy set from a selected location, select Import from Selected Location and perform task step 7.

  4. Select Import from Default Repository and select either the Import or the Import a Copy radio button.

    The behavior of Import policy set:

    • Available for selection of one or more policy sets.
    • Imports the default, not editable, policy set. You are returned to the Application policy sets panel after the import of the policy set.
    • The imported policy set can be deleted, but it cannot be modified.

    The behavior of Import a Copy for a policy set:

    • Not available for multiple selection. If multiple policy sets are selected and the Import a Copy radio button is selected, an error message is displayed, indicating that only one policy set can be copied at a time.
    • Prompts you for a name and description for the copy. You are returned to the Application policy sets panel after you import the policy set.
    • The imported policy set can be modified or deleted.

  5. If you selected Import from the previous step, select one or more policy sets to import in the Name column.

    1. Click OK. You are returned to the Application policy set panel.

    2. Click Save, to save your changes to the configuration.

  6. If you selected Import a Copy from step 4, select the policy set to import a copy in the Name column. We can only select one policy set in the Name column to import its copy.

    1. Provide a different name for the copy.

    2. Click OK. You are returned to the Application policy set panel.

    3. Click Save, to save your changes to the configuration.

  7. Select Import from Selected Location.

    1. Specify the full path or browse for the policy set file in your file system.

    2. Select either Use current policy set name or Specify a different name to use for this policy set.

    3. Click OK. You are returned to the Application policy set panel.

    4. Click Save to save your changes to the configuration.


Results

When you finish this task, we have been able to import a policy set using either the default repository or from a selected location.


Example

If we have a policy set, XYZ_ps and to import it from a selected location, perform the following steps:

  1. From the Application policy set panel, click Import.

  2. Select Import from Selected Location.

  3. Specify the full path or browse to where the XYZ_ps policy set file is located in your file system.

  4. Select either Use the current policy set name, XYZ_ps, or Specify a different name for the policy set.

  5. Click OK.

  6. Click Save, to save your changes to the configuration.

We can modify or use the policy set that you just imported.


Subtopics


Related


Modify policy sets
Importing and exporting policy sets to client or server environments using wsadmin.sh


Reference:

Application policy sets page


+

Search Tips   |   Advanced Search