Skip to content

Commit

Permalink
Release 1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Aug 18, 2023
1 parent 9dcf3b3 commit 748ed8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ MongoDB for XP Framework ChangeLog

## ?.?.? / ????-??-??

## 1.15.0 / 2023-08-18

* Merged PR #37: Support authentication mechanism negotiation. This way,
we default to using SCRAM-SHA-256 if the server supports it as mandated
by the specification.
(@thekid)

## 1.14.0 / 2023-08-17

* Merged PR #37: Implement SCRAM-SHA-256 authentication. Implements #8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Authentication
--------------
To authenticate, pass username and password via the connection string, e.g. `mongodb://user:pass@localhost`. The authentication source defaults to *admin* but can be set by supplying a path, e.g. `mongodb://user:pass@localhost/test`.

Both *SCRAM-SHA-256* and *SCRAM-SHA-1* are supported as authentication mechanisms. By default, sha1 is used, as this is compatible with both local MongoDB installations as well as MongoDB Atlas. To change the mechanism, pass it as part of the connection string, e.g. `mongodb://user:pass@localhost?authMechanism=SCRAM-SHA-256`.
Both *SCRAM-SHA-256* and *SCRAM-SHA-1* are supported as authentication mechanisms. Which one is used is negotiated upon connecting with the server / cluster. To explicitely select the authentication mechanism, pass it as part of the connection string, e.g. `mongodb://user:pass@localhost?authMechanism=SCRAM-SHA-256`.

SSL / TLS
---------
Expand Down

0 comments on commit 748ed8f

Please sign in to comment.