Aqua Data Studio 14.0.0-rc-44
Build #: 34314
Built on: 2013-Oct-03 04:42:13 PM
Operating Environment: Ubuntu 12.04.3 LTS 64-bit
Database: MongoDB 2.5.2
Details:
MongoDB 2.5.x supports LDAP Authentication.
Link:
http://docs.mongodb.org/manual/release-notes/2.6/#ldap-support-for-authentication
We need to add LDAP Authentication option to Register Server.
To support LDAP:
Note: LDAP is only available on MongoDB enterprise & for Linux only, not windows.
2) MongoCredential to use: https://api.mongodb.org/java/current/com/mongodb/MongoCredential.html#PLAIN_MECHANISM
3) Sample code: https://github.com/mongodb/mongo-java-driver/blob/2.12.x/src/examples/example/PlainCredentialsExample.java
The following changes have been made to the Server Registration dialog for MongoDB:
- There is a new Connect As option: LDAP Authentication.
- If the "LDAP Authentication" option is selected, there will be a "Use LDAP over SSL" checkbox.
If the "Use LDAP over SSL" checkbox is selected, "ssl=true" will be appended to the connection URL.
If the "Use LDAP over SSL" checkbox is selected but the user has specified "ssl=false" in the Parameters field in the Driver tab, then there will be an error message when doing Save or Test Connection.
Note to QA: In order to support LDAP Authentication in v15, we need to upgrade to Mongo Java Driver 2.12.4. An updated mongo.jar has been checked in. Please do regression testing. If something is broken, verify if it works in an older v15 build, and if it works in an older v15 build but not in ADS 15.0.12-5, then please log a new issue.
The following changes have been made to the Server Registration dialog for MongoDB:
- There is a new Connect As option: LDAP Authentication.
- If the "LDAP Authentication" option is selected, there will be a "Use LDAP over SSL" checkbox.
If the "Use LDAP over SSL" checkbox is selected, "ssl=true" will be appended to the connection URL.
If the "Use LDAP over SSL" checkbox is selected but the user has specified "ssl=false" in the Parameters field in the Driver tab, then there will be an error message when doing Save or Test Connection.
Note to QA: In order to support LDAP Authentication in v15, we need to upgrade to Mongo Java Driver 2.12.4. An updated mongo.jar has been checked in. Please do regression testing. If something is broken, verify if it works in an older v15 build, and if it works in an older v15 build but not in ADS 15.0.12-5, then please log a new issue.
Issue #10465 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 15.0.12-5 |
No time estimate |
2 issue links |
is a duplicate of #11892
Issue #11892LDAP support for Authentication |
duplicates #11892
Issue #11892LDAP support for Authentication |
To support LDAP:
Note: LDAP is only available on MongoDB enterprise & for Linux only, not windows.
1) http://docs.mongodb.org/manual/tutorial/configure-ldap-sasl-openldap/#authenticate-the-user-in-the-mongo-shell
2) MongoCredential to use: https://api.mongodb.org/java/current/com/mongodb/MongoCredential.html#PLAIN_MECHANISM
3) Sample code: https://github.com/mongodb/mongo-java-driver/blob/2.12.x/src/examples/example/PlainCredentialsExample.java