WAS v8.5 > Script the application serving environment (wsadmin) > Welcome to scripting for web services > Configure web services applications using wsadmin.shConfigure secure sessions between clients and services using wsadmin.sh
Use wsadmin, which supports the Jython and Jacl scripting language, to edit trust service configurations. Use the STSManagement command group for AdminTask 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) specification to define additional extensions for issuing, exchanging, and validating security tokens. Use the STSManagement command group for AdminTask 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 your 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.
Use the information center topics for managing token providers using the STSManagement group of commands and AdminTask.
Subtopics
- Querying the trust service using wsadmin.sh
Use wsadmin, which supports the Jython and Jacl scripting languages, to query the trust service for existing configuration settings. Use the commands in this topic to view current trust service configurations before adding, removing, or editing token provider and endpoint configurations.- Manage existing token providers using wsadmin.sh
We can use wsadmin, which supports the Jython and Jacl scripting languages, to manage the trust service. Use this topic to modify token provider configuration data, and to add custom properties.- Add and remove token provider custom properties using wsadmin.sh
Use wsadmin, which supports the Jython and Jacl scripting languages, to administer the trust service. Use this topic to set internal system configuration properties for the token provider configuration by adding or removing custom properties.- Associate token providers with endpoint services (targets) using wsadmin.sh
We can use wsadmin, which supports the Jython and Jacl scripting languages, to manage the association of endpoints and tokens. Use this topic to query, assign, and unassign the association of a token provider with an endpoint Uniform Resource Identifier (URI).- STSManagement command group for AdminTask
We can use the Jython or Jacl scripting languages to configure security with wsadmin. The commands and parameters in the STSManagement group can be used to manage and query trust service token provider configurations and endpoint configurations.