+

Search Tips   |   Advanced Search

Importing and exporting policy sets to client or server environments using scripting


Use the wsadmin tool, which supports the Jython and Jacl scripting languages, to export and import application or system policy sets for Web services. The exportPolicySet command creates an archive file based on the policy set configuration, and the importPolicySet command imports a default policy set or policy set from an archive file.

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


Table 1. Administrative roles

Administrative role Authorization
Administrator The Administrator role must have cell-wide access to import and export policy sets.
Configurator The Configurator role cannot import and export policy sets.
Deployer The Deployer role cannot import and export policy sets.
Operator The Operator role cannot import and export policy sets.
Monitor The Monitor role cannot import and export policy sets.

Use the exportPolicySet and importPolicySet commands to exchange system or application policy sets between servers or between a client and a provider. To reuse a policy set on a new server or client, export the policy set to an archive file, then import the archive file on the destination server or client. This page provides examples for exporting a policy set, importing a policy set from an archive file, and importing a default policy set.

 

 

Related tasks


Exporting policy sets
Set application and system policy sets for Web services using scripting
Delete policy sets using the wsadmin tool

 

Related


PolicySetManagement