+

Search Tips   |   Advanced Search

Manage policy set attachments for service references

Use wsadmin.sh to manage the policy set attachment configurations for services and service references. Use the Jython or Jacl scripting language to list all attachments and attachment properties, add or remove resources for an existing attachment, and transfer attachments across policy sets.

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

Administrative role Authorization
Administrator The Administrator role must have cell-wide access to manage policy set attachments. If we have access to a specific resource only, we can manage policy set attachments for the resource for which we have access.
Configurator The Configurator role must have cell-wide access to manage policy set attachments. If we have access to a specific resource only, we can manage policy set attachments for the resource for which we have access.
Deployer The Deployer role with cell-wide or resource-specific access can manage policy set attachments for application resources only.
Operator The Operator role cannot manage policy set attachments.
Monitor The Monitor role cannot manage policy set attachments.

Policy set attachments define how a policy set is attached to resources and binding configurations.

Application components including application clients, web modules, and EJB modules, can define references to external web services by using logical names called web service references. Before Version 8.0, web service references always inherited the policy set attachment of the web service.

In Version 8.0 and later, we can specify a policy set and binding for a service reference that is different from the policy set attachment for the service. In addition, we can indicate to not attach a policy set to a service reference, even if a policy set is attached to the service. The default behavior is that a service reference, as well as its endpoints and operations, inherits the policy set attachment of the corresponding resources of the service. Service references are only valid for the client attachment type.

In a mixed cell environment, the following limitations apply to service reference attachments or resource attachments specified in name-value pair format:

.


Related tasks

  • Manage policy set attachments
  • Configure attachments for the trust service using the administrative console
  • Configure application and system policy sets for web services
  • Create policy set attachments
  • Remove policy set attachments
  • Manage policy sets using the administrative console

  • Search attached applications collection
  • PolicySetManagement (AdminTask)