Modifying user authentication properties

Run the solutionManager setproperty command to modify the value of user authentication properties, such as a user name or password, for a solution project. To determine the current value of a property, run the getproperty command.

About this task

Run the solutionManager getproperty command to determine the current value of a solution property that includes the override_required parameter, such as a password. The command returns the value of the property that is specified in the command parameters. To list all the properties of a solution, run solutionManager getproperties. If a property includes the override_required parameter but a value is not set, then Property not set is displayed instead of the property value.

Modify the value of a property by running the solutionManager setproperty command.

Procedure

  1. To determine the current value of a property that includes the override_required parameter, such as a user name, run the getproperty command, as shown in the following examples.
    • Run the command on Windows:
      solutionManager getproperty MySolution db_username --username=admin --password=adminpw --trustStorePassword=truststore trustStoreLocation=C:\IBM\ODMInsights890\runtime\wlp\usr\servers\cisDev\resources\security\key.jks
    • Run the command on Linux:
      ./solutionManager getproperty MySolution db_username --username=admin --password=adminpw --trustStorePassword=truststore trustStoreLocation=/opt/ibm/ODMInsights890/runtime/wlp/usr/servers/cisDev/resources/security/key.jks
    The value of the db_username property is returned.
  2. To modify the value of the db_username property, run the setproperty command, as shown in the following examples. You must provide administrator credentials to run the command.
    • Run the command on Windows:
      solutionManager setproperty MySolution db_username=JoeSmith --username=admin --password=adminpw --trustStorePassword=truststore trustStoreLocation=C:\IBM\ODMInsights890\runtime\wlp\usr\servers\cisDev\resources\security\key.jks
    • Run the command on Linux:
      ./solutionManager setproperty MySolution db_username=JoeSmith --username=admin --password=adminpw --trustStorePassword=truststore trustStoreLocation=/opt/ibm/ODMInsights890/runtime/wlp/usr/servers/cisDev/resources/security/key.jks
    The value of the db_username property is changed to JoeSmith. You can modify multiple property values by running the setproperty command and adding several property_name=property_value pairs as command parameters.