Use the
updateSTSTokenTypeConfiguration command to modify
the existing configuration data for the
myTokenModule token provider.
This example specifies that the
myTokenModule token provider configuration
includes the
com.ibm.ws.security.webChallengeIfCustomSubjectNotFound custom
property with a value of
false and the
com.ibm.ws.security.defaultLoginConfig custom
property with a value of
system.DEFAULT. Use the following command
to change the value of the
com.ibm.ws.security.defaultLoginConfig custom
property from
system.DEFAULT to
system.CUSTOM, and does
not change any other configured custom properties:
AdminTask.updateSTSTokenTypeConfiguration('myTokenModule','-customProperties
"[[com.ibm.ws.security.defaultLoginConfig system.CUSTOM]]"')
The
command returns a message indicating the success or failure of the operation.