+

Search Tips   |   Advanced Search

Reassigning bindings to policy sets


After you create a custom attachment binding, we can reassign that binding to another service artifact if necessary. We can reset a service artifact, such as an application, service, or endpoint to use the inherited bindings or default bindings.

To reassign a application specific binding or a default binding, there must be an assigned binding for the service artifact.

We can assign bindings to policy sets and other service artifacts. If we created a policy set and attached it to a service artifact, we can reassign the binding that was initially assigned to that policy set.

 

  1. Open the admin console.

  2. To reassign a binding for the service provider, click Applications > Application Types > WebSphere enterprise apps application_name > Service provider policy sets and bindings.

    To reassign a binding for the service client, click Applications > Application Types > WebSphere enterprise appsapplication_name > Service client.policy sets and bindings.

  3. Select the check box for the service artifact with an attachment binding.

  4. Select Assign Binding.

  5. Select the binding to assign.

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

 

Results

The service artifact now inherits the policy set bindings that are indicated in either the Service provider policy sets and bindings or Service client.policy sets and bindings panel. Restriction: Reassigning the binding for a service artifact only reassigns it for that service artifact and any inherited artifacts. It does not reassign the binding for other non-related and non-inherited attachments to the same policy set or to a different policy set.

 

Example

If we have the application, app1 with an attached policy set Username WSSecurity default, and you want to define custom bindings, then perform the following steps:

  1. Locate the application in the Applications > Application Types > WebSphere enterprise appsapplication_name collection.

  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 theapp1 application where the custom attachment binding is defined.

  5. Click Assign Binding and select New.

  6. Provide a name for the application specific bindings.

  7. Add required policies to the new application specific bindings.

  8. Set the bindings.

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

 

Next steps

Restart the application that contains the policy set where you reassigned the bindings.

 

Related tasks


Create application specific bindings for policy set attachment
Set policy set bindings