WAS v8.5 > Script the application serving environment (wsadmin) > Welcome to scripting for web services > Configure web services applications using wsadmin.sh > Configure application and system policy sets for web services using wsadmin.sh

Configure custom policies and bindings for security tokens using wsadmin.sh

Use the setPolicyType and setBinding commands for the AdminTask object to specify security tokens for custom policy and binding configurations.

Create a new custom policy set.

The following scenarios configure the custom policy and bindings to use a Kerberos token based on the Oasis Kerberos Token Profile V1.1 specification. We can also use the setPolicyType and setBinding commands to configure other binary security tokens, such as username tokens, Lightweight Third-Party Authentication (LTPA) and SecureConversation.


Results

If the setPolicyType and setBinding commands return a 'true' value, the system successfully updated the policy and binding configurations.


Related concepts:

Web Services Security default policy sets


Related


Start the wsadmin scripting client using wsadmin.sh
Create policy sets using wsadmin.sh
Add and remove policies using wsadmin.sh


Reference:

PolicySetManagement command group for AdminTask
WSSecurity policy and binding properties


+

Search Tips   |   Advanced Search