-
Notifications
You must be signed in to change notification settings - Fork 6
Auth support #16
Comments
+1 |
Commits regarding this feature will be pushed to authentication branch until feature is stable and ready to be merged back. Please feel free to test and report problems. |
Would love to test, but I must be being dim: I can't figure out how to install a Meclipse branch into Aptana Studio. |
Include the Project into your eclipse, then right-click root and click export->Plugin-Development->deployable Plugins and Fragments. Select the MongoDB Plugin if not already selected. Now choose your eclipse Directory (/home/USERNAME/eclipse). At the tab Options activate the checkbox Qualifier Replacement and set something you like, so you avoid to potentially multiple versions which could cause problems or require more update actions. Note that I didn't commited anything to this branch related to authentication actually. |
Thanks. I made some progress but the export process fails: |
I've made recently some changes to both branches (develop and authentication) as there were some errors present, please update to latest. |
OK. Thats allowed it to install. Now when I try to open the Meclipse/MongoDB View, I first get a "Unknown Host: 192.168.0.112" (this is where my mongodb instance is running). This setting must be left from the previous Meclipse install. If I then open the New Connection window, I see the Name,Host and port fields with an "Auth Not Supported Yet" message??? |
As told earlier I didn't worked on authentication yet. |
Yes, my instance has auth enabled. I'm connected to it from the same machine with MongoHub, so I know its working.
|
…redentials, so you're gaining access node wide access; Auth for single dbs is outstanding; refs #16
So with the last commit related to the ticket it's possible to authenticate as admin against a given Database. I'm somewhat unsure how we should handle authentication for single dbs only. From what I encountered it's not possible to listDatabases as soon as -auth is used, and we're not authenticated against admin database. So we can't simply display all dbs and ask for username/password where needed. So my basic idea on this is to change the display of the given connection, allowing to add user/pw for admin afterwards for this connection. Additionally we could add an option to add login credentials database wise so we could display only those where we have credentials for. What do you think about this approach? |
Allow to connect to Mongo Instances running with auth enabled.
The text was updated successfully, but these errors were encountered: