Administering the technical user for the BPM document store
Before you begin
The maintainDocumentStoreAuthorization and updateDocumentStoreApplication commands perform many of the tasks in this topic. Run the commands with the AdminTask object of the wsadmin scripting client. The following conditions must be met:
- maintainDocumentStoreAuthorization Command:
- Run the command on the deployment manager node.
- Ensure that one or more application cluster members are running.
- Run the command in connected mode. Do not specify the
wsadmin -conntype noneoption. - Connect to the deployment manager with a user ID that has WebSphere® Application Server operator privileges.
- updateDocumentStoreApplication Command:
- Run the command on the deployment manager node.
- Run the command in either local or connected mode.
- When you run the command in connected mode, specify a user ID that has WebSphere Application Server operator and deployer privileges.
For the maintainDocumentStoreAuthorization command, start the
wsadmin scripting client from the
profile_root/bin directory of the deployment manager
profile. For the updateDocumentStoreApplication command, start the
wsadmin scripting client from the
deployment_manager_profile/bin directory on either Workflow Server or Workflow Center. The commands do not
write to a log file. However, the wsadmin scripting client writes a
profile_root/logs/wsadmin.traceout log file. You find
exception stack traces and other information in this log file.
About this task
All scenarios use the same technical user. The credentials are saved in an authentication alias.
The authentication alias is mapped to the Business Automation Workflow role type
EmbeddedECMTechnicalUser. The default authentication alias is
DeAdminAlias. However, the authentication alias might be customized during the
configuration of the deployment environment. The technical user requires the WebSphere Application Server administrator role. For
information about managing authentication aliases with the administrative console, see Modifying authentication aliases.
- Changing the password of the technical user
- Adding a new technical user
- Changing the authentication alias for the technical user
- Reconfiguring the user registry
The following sections describe these tasks.
Changing the password of the technical user
The credentials of the technical user are saved in an authentication alias. Change the password of the technical user in the authentication alias together with the password in the user repository where the technical user is defined (such as fileRegistry or LDAP).
To change the password of the technical user, complete the following steps:
- Stop the application servers.
- Identify the authentication alias that is mapped to the
EmbeddedECMTechnicalUserrole. In the WebSphere Application Server administrative console, navigate to . - Change the password of the user that is associated with the authentication alias that you identified in step 2. In the WebSphere Application Server administrative console, navigate to .
- Change the password for the relevant user in the user registry:
- If you are using an embedded Content Platform Engine, change the password in the Manage Users section in the WebSphere Application Server administrative console.
- If you are using an external Content Platform Engine that uses LDAP, change the password at the LDAP level.
- Change the password for the admin user in the IBM Administration Console for
Content Platform Engine (ACCE):
- Log in to the ACCE (https://BAW_host:BAW_port /acce).
- Click BPM domain. Click the Properties tab and change the values for the System User Name and System User Password. Click Save.
- Start the application servers.
Adding a new technical user
AdminTask.maintainDocumentStoreAuthorization('[-deName myDEname -add cn=newTechnicalUser,o=defaultWIMFileBasedRealm]')AdminTask.maintainDocumentStoreAuthorization('[-deName myDEname -list]')Alternatively, authorize groups to access the BPM document store.
AdminTask.maintainDocumentStoreAuthorization('[-deName myDEname -remove cn=oldTechnicalUser,o=defaultWIMFileBasedRealm]')If you change the technical user, change the application settings of IBM_BPM_DocStoreAdmin. This change allows the new technical user to access the IBM Administration Console for Content Platform Engine (ACCE). When you create the Business Automation Workflow deployment environment, the DE admin user becomes the admin user for the embedded IBM Content Navigator and Content Platform Engine components. The Business Automation Workflow server uses the DE admin user to connect to these components.
Changing the authentication alias
In the deployment environment configuration, change the authentication alias that is
mapped to the EmbeddedECMTechnicalUser role. To map the new authentication alias to
the EmbeddedECMTechnicalUser role, see step 2 in Changing the password of the technical
user.
updateDocumentStoreApplication admin command. This command prevents the BPM document store from using the old
authentication
alias:AdminTask.updateDocumentStoreApplication('[-deName myDEname]')Reconfiguring the user registry
Authorization to the BPM document store is based on unique IDs. If the document store was initialized during initial server startup, only the same user (with the same unique ID) manages the document store and accesses its documents. If you change your user registry configuration (for example, remove the file-based repository to use only an LDAP server in federated repositories), a user with the same user ID and password in LDAP does not have access to the document store. This behavior also occurs if you delete a user and re-create one with the same user ID. In this situation, you lose access to the document store. Roll back the configuration change.
Duplicate users are not permitted in federated repositories. You cannot connect to an LDAP server that contains the same users in your file-based repository. Remove the file-based repository and add LDAP. A user in LDAP with the same user ID does not have access to the document store. As a result, authorize all authenticated users to work with the document store during reconfiguration. Shut down access through the HTTP server during this time.
AdminTask.maintainDocumentStoreAuthorization('[-deName De1 -add #AUTHENTICATED-USERS]')
When all users are allowed to communicate with the document store, remove the user or group from the user repository.After you complete this configuration, reconfigure your user registry without losing access to the document store. After you complete the configuration change and restart the cell, authorize a new user and remove the #AUTHENTICATED-USERS entry.
For information about configuring the user registry, see Configuring the user registry.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15