Set secure sessions between clients and services using the wsadmin tool
Use wsadmin, which supports the Jython and Jacl scripting language, to edit trust service configurations. Use the STSManagement command group for the AdminTask object to specify details related to secure sessions between clients and target services.
The trust service uses the secure messaging mechanisms of the Web Services Trust (WS-Trust) spec to define additional extensions for issuing, exchanging, and validating security tokens. Use the STSManagement command group for the AdminTask object to configure the trust service using wsadmin. Complete any of the following tasks using the STSManagement commands:
- Manage token provider configurations.
Use wsadmin to manage token providers. Customize token providers by defining properties such as token type schema URI, handler factory, cache cushion time, class name, and token timeout. We can also allow or restrict the use of post-dated tokens, distributed cache, and renewable tokens after timeout.
- Query existing token provider configurations.
Use wsadmin to query the existing trust service token provider configuration.
- Manage endpoint token assignments.
Use wsadmin to assign, unassign, and modify endpoint token assignments.
- Refresh the configuration changes.
Use wsadmin to force the trust service to reload the token provider configuration during run time. Complete this action to use new configuration changes before you restart the application server.
What to do next
Use the information center topics for managing token providers using the STSManagement group of commands and the AdminTask object.
Querying the trust service using scripting
Manage existing token providers with scripting
Add and remove token provider custom properties using scripting
Associating token providers with endpoint services (targets) using scripting
STSManagement command group for the AdminTask object