stijnsanders/TMongoWire — pull request #3 by compiled (2012-02-10 08:39:50+00:00)
Title: Added authentication to TMongoWire

Hi,

First of all thank you for your work on this library. I needed authentication for my application so I decided to implement it.

I added an Authenticate method to TMongoWire class which requires the user to provide the database to authenticate for, an username and a password.

Because authentication needs MD5 I added an MD5 library by mfichtner@fichtner-meyer.com to the repository. I altered to library so it doesn't cause any collision for users already using the library. It only exports one method MongoMD5Hex which returns an hexadecimal string representation of the hash.

Kind Regards,

Fred Oranje