Dynamically Changing the User Credentials of a Service's Connection at Run Time
In Adapter for MongoDB, you can dynamically provide the user name and password credentials associated with a specific adapter service at run time. This capability enables you to override the connection that is associated with the adapter service at design time. If you provide the user credentials in an adapter service at run time, Adapter for MongoDB connects to the database using the new credentials, along with the other connection parameters associated with the service's associated connection. If you do not provide any user credentials at run time, Adapter for MongoDB connects to the database using the user credentials provided at design time.