| From | Sent On | Attachments |
|---|---|---|
| Omar Gonzalez | May 26, 2011 9:32 pm | |
| Kyle Banker | May 26, 2011 11:59 pm | |
| Nat | May 27, 2011 12:36 am | |
| Omar Gonzalez | May 27, 2011 12:54 am | |
| Omar Gonzalez | May 27, 2011 12:56 am | |
| Nat | May 27, 2011 1:01 am | |
| Omar Gonzalez | May 27, 2011 1:10 am | |
| Omar Gonzalez | May 27, 2011 1:14 am | |
| Nat | May 27, 2011 1:19 am | |
| Omar Gonzalez | May 27, 2011 1:27 am | |
| Omar Gonzalez | May 27, 2011 1:48 am |
| Subject: | ActionScript 3 Driver Help | |
|---|---|---|
| From: | Omar Gonzalez ("oma...@gmail.com) | |
| Date: | May 26, 2011 9:32:49 pm | |
| List: | com.googlegroups.mongodb-user | |
There is an AS3 driver called ActionMongo (https://github.com/ argoncloud/ActionMongo) that I want to use for several projects. The issue with the driver is it does not have authentication implemented so I can't authenticate into any of my databases.
I've started extending the library to add an authenticate function following the instructions on the mongo site here: http://www.mongodb.org/display/DOCS/Implementing+Authentication+in+a+Driver
I was able to tweak the code to get the call for {getnonce:1} to work and am successfully retrieving a nonce to attempt an authentication command. The docs on mongodb.org just say execute a command, and I'm not sure how. From reading through the Java source (I don't write Java) it looks like the Java driver sends database commands like {authenticate:1, user:...} via a __find() method. I am trying to replicate this method in the ActionScript 3 driver but I keep receiving an error from the mongodb server that says "no such cmd".
Are there any specific instructions anywhere on how to set up a command call for a driver other than what the page I linked to above says "The next step is to run an authenticate command", but how? I'm using OP_QUERY and the message keeps failing with "no such cmd".
I would greatly appreciate any help!





