From 2bbffed62ba55bd5f6c8aa3ae73d6cc9ce4c111d Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 2 Jan 2017 10:42:03 +0100 Subject: [PATCH] DATAMONGO-1508 - Polishing. Highlight attribute name. Replace tabs with spaces. Original pull request: #399. --- src/main/asciidoc/reference/mongodb.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/asciidoc/reference/mongodb.adoc b/src/main/asciidoc/reference/mongodb.adoc index d36850219..ca674aa51 100644 --- a/src/main/asciidoc/reference/mongodb.adoc +++ b/src/main/asciidoc/reference/mongodb.adoc @@ -387,7 +387,7 @@ You can also provide the host and port for the underlying `com.mongodb.Mongo` in password="secret"/> ---- -If your mongodb authentication database differs from the target database, use the authentication-dbname attribute, as shown below. +If your MongoDB authentication database differs from the target database, use the `authentication-dbname` attribute, as shown below. [source,xml] ---- @@ -397,8 +397,8 @@ If your mongodb authentication database differs from the target database, use th dbname="database" username="joe" password="secret" - authentication-dbname="admin" - /> + authentication-dbname="admin" + /> ---- If you need to configure additional options on the `com.mongodb.Mongo` instance that is used to create a `SimpleMongoDbFactory` you can refer to an existing bean using the `mongo-ref` attribute as shown below. To show another common usage pattern, this listing shows the use of a property placeholder to parametrise the configuration and creating `MongoTemplate`.