Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
SecureConversation command group (Deprecated)
Use this topic as a reference for the commands for the SecureConversation group of the AdminTask object. Use these commands with your administrative scripts to query, update, and remove secure conversation client cache configuration data.
Deprecated feature: The commands in the SecureConversation command group are deprecated. Use the commands in the WSSCacheManagement command group to manage WS-Security distributed cache configurations.depfeat
Use the following commands in the SecureConversation group to manage your custom and non-custom secure conversation client cache configurations:
- querySCClientCacheConfiguration command
- querySCClientCacheCustomConfiguration command
- updateSCClientCacheConfiguration command
- updateSCClientCacheCustomConfiguration command
- deleteSCClientCacheConfigurationCustomProperties command
querySCClientCacheConfiguration command
The querySCClientCacheConfiguration command lists all non-custom client cache configuration data for WS-SecureConversation.
Required parameters None.
Optional parameters None.
Return valueThis command returns a list of all non-custom client cache configuration data.
Batch example...
### Jython
print AdminTask.querySCClientCacheConfiguration()
Interactive example...
### Jython
AdminTask.querySCClientCacheConfiguration('-interactive')
querySCClientCacheCustomConfiguration command
The querySCClientCacheCustomConfiguration command lists all custom client cache configuration data for WS-SecureConversation.
Required parameters None.
Optional parameters None.
Return valueThis command returns a list of all custom client cache configuration data.
Batch example...
### Jython
print AdminTask.querySCClientCacheCustomConfiguration()
Interactive example...
### Jython
AdminTask.querySCClientCacheCustomConfiguration('-interactive')
updateSCClientCacheConfiguration command
The updateSCClientCacheConfiguration command sets the cache cushion time in minutes and enables or disables distributed cache.
Required parameters None.
Optional parameters
-distributedCache
Whether distributed cache is enabled or disabled. If you set the -distributedCache parameter to true when you run the updateSCClientCacheConfiguration command, the system enables distributed cache for the WS-Security runtime. (Boolean, optional)
-minutesInCacheAfterTimeout
Amount of time, in minutes, that the token remains in the cache after it expires. The token is renewable for this amount of time. (Integer, optional)
-renewIntervalBeforeTimeoutMinutes
Amount of time, in minutes, that a renew request is allowed before the token expires. (Integer, optional)
Return valueThis command returns a success or failure message.
Batch example...
- Jython string:
AdminTask.updateSCClientCacheConfiguration('-minutesInCacheAfterTimeout 100 -distributedCache true')
- Use Jython list:
AdminTask.updateSCClientCacheConfiguration(['-minutesInCacheAfterTimeout', '100', '-distributedCache', 'true'])
Interactive example...
### Jython
AdminTask.updateSCClientCacheConfiguration('-interactive')
updateSCClientCacheCustomConfiguration command
The updateSCClientCacheCustomConfiguration command updates custom properties for the secure conversation client cache configuration.
Required parameters None.
Optional parameters
-customProperties
The custom properties for the secure conversation client cache configuration. (Properties, optional)
Return valueThis command returns a success or failure message.
Batch example...
- Jython string:
AdminTask.updateSCClientCacheCustomConfiguration('[-customProperties "[ [property2 value2] [property1 value1] ]"]')
- Use Jython list:
AdminTask.updateSCClientCacheCustomConfiguration(['-customProperties', '[ [property2 value2] [property1 value1] ]'])
Interactive example...
### Jython
AdminTask.updateSCClientCacheCustomConfiguration('-interactive')
deleteSCClientCacheConfigurationCustomProperties command
The deleteSCClientCacheConfigurationCustomProperties command removes specific properties from a custom secure conversation client cache configuration.
Target object None.
Required parameters
-propertyNames
The names of the properties to delete. (String, required).
Optional parameters None.
Return valueThis command returns a success or failure message.
Batch example...
- Jython string:
AdminTask.deleteSCClientCacheConfigurationCustomProperties('[-propertyNames [property1,property2]]')
- Use Jython list:
AdminTask.deleteSCClientCacheConfigurationCustomProperties(['-propertyNames', '[property1,property2]'])
Interactive example...
### Jython
AdminTask.deleteSCClientCacheConfigurationCustomProperties('-interactive')
Use the wsadmin scripting AdminTask object for scripted administration
Manage WS-Security distributed cache configuration
Configure the Web Services Security distributed cache
Secure conversation client cache and trust service configuration