Managing WS-Security distributed cache configurations using wsadmin scripting
The distributed cache stores tokens on the client. Use this topic and the commands in the WSSCacheManagement group of the AdminTask object to query, update, and remove custom and non-custom properties for the distributed cache configuration.
Before you begin
About this task
The distributed cache stores tokens on both distributed and local clients. WebSphere® Application Server supports only the security context token for the WS-Trust security token service client and the security trust service components.
You can use the administrative
console or the wsadmin tool to manage your secure conversation distributed
cache configuration. You can use the wsadmin tool and the Jython scripting
language syntax to:
- Query your current distributed cache configuration settings.
- Set the value for the renewal time after token expiration.
- Enable or disable distributed cache for clustered servers.
- Add custom properties to your configuration.
- Remove custom properties from your configuration.
Procedure
Results
Your WS-Security distributed cache configuration is updated.