Description
Oliver Drotbohm opened DATAMONGO-1260 and commented
If a SimpleMongoDbFactory
is configured with a reference to a MongoClient
we expect all authentication operations to be configured on the client. The factory however still takes authentication configuration which might create the impression of that information being applied. This however has been turned off for DATAMONGO-1216 to avoid repeated authentication.
SimpleMongoDbFactory
should reject instantiation attempts with a MongoClient
instance and additional authentication information right away hinting the user to configure the authentication information on the MongoClient
instance itself
Affects: 1.8 M1 (Gosling), 1.7.1 (Fowler SR1)
Issue Links:
- DATAMONGO-1259 upgrading from 1.7.0 to 1.7.1 results in exceptions
Referenced from: pull request #309
Backported to: 1.7.2 (Fowler SR2)