Browse Source

DATAMONGO-1257 - We now hint to credential quoting from the XSD.

The namespace XSD now mentions the capability of quoting more complex credentials in case they validly contain a comma.
1.7.x
Oliver Gierke 11 years ago
parent
commit
e23ca446a2
  1. 2
      spring-data-mongodb/src/main/resources/org/springframework/data/mongodb/config/spring-mongo-1.7.xsd

2
spring-data-mongodb/src/main/resources/org/springframework/data/mongodb/config/spring-mongo-1.7.xsd

@ -586,7 +586,7 @@ The comma delimited list of host:port entries to use for replica set/pairs. @@ -586,7 +586,7 @@ The comma delimited list of host:port entries to use for replica set/pairs.
<xsd:attribute name="credentials" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The comma delimited list of username:password@database entries to use for authentication. Appending ?uri.authMechanism allows to specify the authentication challenge mechanism.
The comma delimited list of username:password@database entries to use for authentication. Appending ?uri.authMechanism allows to specify the authentication challenge mechanism. If the credential you're trying to pass contains a comma itself, quote it with single quotes: '…'.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>

Loading…
Cancel
Save