+

Search Tips   |   Advanced Search

Create policy sets using wsadmin


Create policy sets to centrally manage policies that are customized for the Web services. Use wsadmin, which supports the Jython and Jacl scripting languages, to create new policy sets, copy existing policy sets, or import a policy set configuration. You can also query for an existing policy set and respective attributes.

In order to complete this task, use the Administrator role with cell-wide access when admin security is enabled.

There are three ways to create a new policy set using wsadmin. We can create a new policy set and its configuration, copy an existing policy set, or import a policy set.

When you create a new policy set, add policies. If we copy an existing policy set, we can transfer the policies and attachments that are configured on the existing policy set. The command examples in this topic use batch mode syntax. Use the -interactive option with all commands in the PolicySetManagement group.

 

 

Results

If we receive a success message after entering the commands, we can now manage a policy set that is customized for the Web services applications. We can further configure the policy set and policies.

 

What to do next

Use the validatePolicySet command to validate the policy set configurations after modifying attributes for policies. For example, enter the following command to validate the PolicySet1 policy set:

AdminTask.validatePolicySet('-policySet PolicySet1')


Web services policy sets

 

Related tasks


Updating policy set attributes using wsadmin
Delete policy sets using wsadmin
Add and remove policies using wsadmin
Create policy sets

 

Related


PolicySetManagement