+

Search Tips   |   Advanced Search

Removing policy set bindings using wsadmin.sh

Use the Jython or Jacl scripting language to remove binding configurations for policies and resources to match the installation environment or requirements.

Before using the commands in this topic, verify that we are using the most recent version of the wsadmin tool. The policy set management commands that accept a properties object as the value for the attributes or bindingLocation parameters are not supported on previous versions of the wsadmin tool. For example, the commands do not run on a v6.1.0.x node.

When administrative security is enabled, verify that we use the correct administrative role, as the following table describes:

Administrative role Authorization
Administrator The Administrator role must have cell-wide access to delete bindings. If we have access to a specific resource only, we can delete bindings for the resource for which we have access.
Configurator The Configurator role can unassign bindings, but cannot delete bindings.
Deployer The Deployer role can unassign bindings, but cannot delete bindings.
Operator The Operator role cannot modify bindings.
Monitor The Monitor role cannot modify bindings.

Use the following steps to remove specific policies from the application-specific binding configuration, or to remove your entire binding configuration. For both of these removal options, use the -bindingLocation parameter to specify whether we are deleting an application-specific binding, server-specific default binding, or a binding for the trust service. Use the following table for examples using Jython syntax when specifying the type of binding to modify or remove:

Type of binding Value for the -bindingLocation parameter
Server-level (for v6.1 bindings only) -bindingLocation "[[node node1][server server1]]"
Application -bindingLocation "[[application application1][attachmentId 123]]"
Trust service binding -bindingLocation "[[systemType trustService] [attachmentId 123]]"
WS-Notification client -bindingLocation "[[bus myBus][WSNService myService][attachmentId 123]]"
General bindings -bindingLocation []


Tasks

  • Start the wsadmin scripting client
  • Reassigning bindings to policy sets attachments
  • Deleting application-specific bindings from the configuration
  • Configure application and system policy sets for web services
  • Create policy sets
  • Add and remove policies
  • Create policy set attachments
  • Manage policy set attachments
  • Removing policy set attachments
  • Manage policy sets
  • PolicySetManagement