当文件注册表或外部安全提供程序中定义的用户密码发生更改,并且该用户标识由 IBM® Business Process Manager 认证别名或 IBM Business Process Manager 应用程序的 RunAs 角色使用,那么必须同步该密码。updateBPMAliasesAndRunAsRolesPasswords 命令支持通过一个步骤完成此同步。
关于此任务
IBM Business Process Manager 提供包含映射至 RunAs 角色的用户的应用程序:
- IBM_BPM_PerformanceDW_supportDeploymentTarget
- IBM_BPM_Teamworks_applicationDeploymentTarget
- BPEContainer__applicationDeploymentTarget
- TaskContainer__applicationDeploymentTarget
其中,后缀是应用程序集群或独立服务器(针对 IBM Business
Process Manager Express® 和 IBM Integration
Designer 的单元测试环境 (UTE)),并且支持集群或独立服务器为:_clusterName 或 _nodeName_serverName。
注: updateBPMAliasesAndRunAsRolesPasswords 命令不能用于更改单元管理用户或客户提供的应用程序的密码。
过程
您必须更改处于提供程序级别的密码以及映射到由 IBM Business Process Manager 提供的应用程序的 RunAs 角色的认证别名的密码。
- 转至外部安全提供程序并在提供程序级别更改用户的密码。以下步骤使用 WebSphere® Application
Server 作为提供程序:
- 通过登录 WebSphere Application
Server 管理控制台在 WebSphere Application
Server 文件注册表中更改密码。
- 单击。
- 选择用户,然后在密码字段中输入新密码。
- 单击应用,然后单击确定。
- 保存更改。
- 在 ND 环境下,停止 Deployment Manager。
(在类似 IBM BPM Express 或 IBM Integration Designer 单元测试环境的独立环境中,停止应用程序服务器。)
- 在 Deployment Manager 概要文件的 bin 文件夹(或者在 IBM Business
Process Manager Express 或 Integration Designer 单元测试环境的 AppServer 概要文件的 bin 文件夹)中,运行 updateBPMAliasesAndRunAsRolesPasswords wsadmin 命令以更改认证别名或应用程序 RunAs 角色中的密码。
- 对于 Jacl
dmgr_profile_root/bin > wsadmin -conntype NONE
wsadmin> $AdminTask updateBPMAliasesAndRunAsRolesPasswords {-userName username -password new_password}
You should see the following messages:
Processing: IBM_BPM_PerformanceDW_SingleCluster
Processing: IBM_BPM_Teamworks_SingleCluster
Processing: BPEContainer_SingleCluster
Processing: TaskContainer_SingleCluster
wsadmin> $AdminConfig save
- 对于 Jython
dmgr_profile_root/bin>wsadmin -conntype NONE -lang jython
wsadmin>AdminTask.updateBPMAliasesAndRunAsRolesPasswords('[-userName username -password new_password]')
Processing: IBM_BPM_PerformanceDW_SingleCluster
Processing: IBM_BPM_Teamworks_SingleCluster
Processing: BPEContainer_SingleCluster
Processing: TaskContainer_SingleCluster
wsadmin>AdminConfig.save()
- 在 ND 环境下,启动 Deployment Manager 并将更改同步到其他节点上。(在类似 IBM BPM Express 或 IBM Integration Designer 单元测试环境的独立环境中,启动应用程序服务器。)
- 在 ND 环境下,重新启动应用程序集群成员和支持集群成员。