Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Dataslot management : Working with different types of dataslots : Document dataslots : Supporting multiple DMS user credentials
 
Supporting multiple DMS user credentials
By default, BP Server uses a single DMS user account for creating, updating and deleting the documents in the Document dataslot. However, Business Process Server also supports following scenarios:
*Every Business Process Server user has his/her own DMS account (one Business Process Server user to one DMS user).
*A group of Business Process Server users use a single DMS account (many Business Process Server users to one DMS user).
To enable multi-DMS user account support
1. You must set the following parameter in the OEBPS_HOME\conf\SDMS.properties as shown below.
dms.multiuser.credential=true
When you set this parameter to true, Business Process Server uses DMS user name and password associated with the Business Process Server user to connect to the DMS, instead of using DMS user name and password specified in the dms.properties file. Every Business Process Server user can have his/her own DMS user name and password, which can be different than his/her Business Process Server credentials. This allows many Business Process Server users to share one DMS account. This provides the "many Business Process Server users to one DMS user" capability.
2. To enable one Business Process Server to one DMS user mapping, you must set the following parameter in the OEBPS_HOME\conf\dms.properties file as shown below.
dms.appuser.credential=true
When you set this parameter to true, Business Process Server user’s user name and password is used to connect to DMS. This parameter is effective only when the dms.multiuser.credential parameter is set to true. This provides the "one Business Process Server user to one DMS user" capability.
Note: DMS does not authenticate user name and password while creating a DMS session because it does not have its own user management. Therefore, Business Process Server users can connect to DMS with any user name.
The following table shows the behavior of DMS with different combinations of values of the above parameters.
sdms.multiuser.credential
sdms.appuser. credential
Connects to DMS using
false
false
User credentials specified in the dms.properties file.
true
false
DMS user credentials associated with BM user
true
true
Business Process Server user
false
true
User credentials specified in the dms.properties file.