Attach a policy set to a service artifact


 

+

Search Tips   |   Advanced Search

 

Attach a policy set to a service artifact, such as an application, service, endpoint or operation, to define the quality of services that are supported. Policy sets can define the policies for...

Before we can start this task, deploy an application containing Web services.

If none of the default policy sets contain the necessary policy definitions, then create a custom policy set with the necessary definitions.

To attach a policy set to a service artifact...

  1. Open the admin console.

  2. To attach a policy set to a service provider, click...

    Applications | Enterprise applications | myapp | Service provider policy sets and bindings

    To attach a policy set to a service client, click...

    Applications | Enterprise applications | myapp | Service client.policy sets and bindings

  3. Select the check box for the service artifact.

  4. Select Attach to display a list of available policy sets to attach. Select a policy set from the list.

  5. Click Save, to save the changes to the master configuration.

  6. [Optional] To see what attachments are defined for a given policy set, select...

    Services | Policy sets | Application policy sets | policy_set_name | Attached applications

 

Results

When you finish these steps, a policy set is attached to the service artifact.

 

Example

If we have the application, app1 and you want to attach the policy set, WSSecurity default, then perform the following steps:

  1. Locate the app1 application in...

    Applications | Enterprise applications

  2. Click the app1 application.

  3. Click the Service provider policy sets and bindings link or the Service client.policy sets and bindings link.

  4. Select the check box for the service artifact where the policy set is to be attached.

  5. Click Attach. Select WSSecurity default policy set.

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

 

Next steps

We can create custom bindings for policy set attachments.

We can configure the service client or service provider to share their policies.

 

Related tasks


Create application specific bindings for policy set attachment
Reassigning bindings to policy sets
Modify default bindings at the server or cell level for policy sets
Use WS-Policy to exchange policies in a standard format
Set policy set bindings