updateBPMAliasesAndRunAsRolesPasswords command

When the password of the user defined in the file registry or external security provider is changed and the user ID is used by IBM Business Process Manager authentication aliases or RunAs roles of IBM BPM applications, the password must be synchronized. The updateBPMAliasesAndRunAsRolesPasswords command enables this synchronization in one step.

This command provides a command-line method to synchronize passwords for authentication aliases or application RunAs roles after a password has been changed for a user defined in the file registry or external security provider. Before running this command, you should review the task topic "Changing IBM Business Process Manager passwords after installation."

Prerequisites

The following conditions must be met:

Location

Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.

Syntax

Required parameters

-username user_name
Specifies the user name of the user defined in the file registry or external security provider.
-password password
Specifies the password for the user name.

Examples

Note: The examples are for illustrative purposes only. They include variable values and are not meant to be reused as snippets of code.
The following example shows how to use the updateBPMAliasesAndRunAsRolesPasswords command:
  • Jython example:
    dmgr_profile_root/bin>wsadmin -conntype NONE -lang jython
    
    wsadmin>AdminTask.updateBPMAliasesAndRunAsRolesPasswords('[-userName user_name -password new_password]')
    
    You should see the following:
    
    Processing: IBM_BPM_PerformanceDW_SingleCluster
    Processing: IBM_BPM_Teamworks_SingleCluster
    Processing: BPEContainer_SingleCluster
    Processing: TaskContainer_SingleCluster
    
    wsadmin>AdminConfig.save()
  • Jacl example:
    dmgr_profile_root/bin > wsadmin -conntype NONE
    wsadmin> $AdminTask updateBPMAliasesAndRunAsRolesPasswords {-userName user_name -password new_password}
    
    You should see the following:
    
    Processing: IBM_BPM_PerformanceDW_SingleCluster
    Processing: IBM_BPM_Teamworks_SingleCluster
    Processing: BPEContainer_SingleCluster
    Processing: TaskContainer_SingleCluster
    
    wsadmin> $AdminConfig save