Unhide mongodb password in response from mongo server

I'm playing with my local mongodb server to implement password encryption in tomcat JNDI. I'm getting following error:

com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='sample', source='samplesource', password=****, mechanismProperties={}}

Since I'm using encryption of password and decrypting before creating connection to mongo, I need to know the exact value of password which is getting send to mongo server.

Is there a way to unhide the password in above mongodb response?...

Read More »

By: StackOverFlow - Monday, 12 March

Related Posts