Skip to content

DATAMONGO-1257 - mongo:mongo-client namespace does not support usernames with a comma. #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

We now allow grouping credentials by enclosing them in single quotes.

credentials='CN=myName,OU=myOrgUnit,O=myOrg,L=myLocality,ST=myState,C=myCountry?uri.authMechanism=MONGODB-X509'

We also changed the required argument checks to be more authentication mechanism specific which means the pattern is now username[:password@database][?options].

…mes with a comma.

We now allow grouping credentials by enclosing them in single quotes. 

credentials='CN=myName,OU=myOrgUnit,O=myOrg,L=myLocality,ST=myState,C=myCountry?uri.authMechanism=MONGODB-X509'

We also changed the required argument checks to be more authentication mechanism specific which means the pattern is now username[:password@database][?options].
christophstrobl added a commit that referenced this pull request Jul 24, 2015
…s with a comma.

We now allow grouping credentials by enclosing them in single quotes like this:

credentials='CN=myName,OU=myOrgUnit,O=myOrg,L=myLocality,ST=myState,C=myCountry?uri.authMechanism=MONGODB-X509'

We also changed the required argument checks to be more authentication mechanism specific which means the pattern is now username[:password@database][?options].

Original pull request: #310.
odrotbohm added a commit that referenced this pull request Jul 24, 2015
Made internal helper methods in MongoCredentialPropertyEditor static where possible.

Original pull request: #310.
christophstrobl added a commit that referenced this pull request Jul 24, 2015
…s with a comma.

We now allow grouping credentials by enclosing them in single quotes like this:

credentials='CN=myName,OU=myOrgUnit,O=myOrg,L=myLocality,ST=myState,C=myCountry?uri.authMechanism=MONGODB-X509'

We also changed the required argument checks to be more authentication mechanism specific which means the pattern is now username[:password@database][?options].

Original pull request: #310.
odrotbohm added a commit that referenced this pull request Jul 24, 2015
Made internal helper methods in MongoCredentialPropertyEditor static where possible.

Original pull request: #310.
@odrotbohm odrotbohm closed this Jul 27, 2015
@odrotbohm odrotbohm deleted the issue/DATAMONGO-1257 branch July 27, 2015 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants