You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an authentication chapter of the official specification for mongo clients: https://github.com/mongodb/specifications/blob/master/source/auth/auth.rst
Apart from the username and password, we have other settings such as the authentication database (admin by default) and the mechanism (we have the SCRAM-SHA-1 only for now). I may be okay to follow their suggestion of having a MongoCredential class (or hierarchy).
The spec also specifies a handshake sending a isMaster as the first operation after a socket is open by the pool, and some behavior.
The text was updated successfully, but these errors were encountered:
Common logic is moved to a new parent class SCRAMSHAAuthMechanism. Descendant classes SCRAMSHA1AuthMechanism and SCRAMSHA256AuthMechanism only customize the hash function to use.
This PR doesn't implement the handshake mentioned in pharo-nosql#87.
There is an authentication chapter of the official specification for mongo clients: https://github.com/mongodb/specifications/blob/master/source/auth/auth.rst
Apart from the username and password, we have other settings such as the authentication database (admin by default) and the mechanism (we have the SCRAM-SHA-1 only for now). I may be okay to follow their suggestion of having a
MongoCredential
class (or hierarchy).The spec also specifies a handshake sending a
isMaster
as the first operation after a socket is open by the pool, and some behavior.The text was updated successfully, but these errors were encountered: