Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GOCBC-682: Ensure that connections use the correct credentials
Motivation ---------- When we initially setup authentication we tie the credentials that we use for all further auth to those of the first endpoint tried. This fails when different endpoints have different credentials. Changes ------- Slightly refactor how we perform authentication so that each time we bootstrap on a connection we fetch the credentials for that individual endpoint. Change-Id: I91fe8897f8fc52a44ac8e7adeb05bc300674de43 Reviewed-on: http://review.couchbase.org/122030 Reviewed-by: Brett Lawson <brett19@gmail.com> Reviewed-by: Abhinav Dangeti <abhinav@couchbase.com> Tested-by: Abhinav Dangeti <abhinav@couchbase.com>
- Loading branch information
1 parent
5f6bf0c
commit a5c00dd
Showing
2 changed files
with
33 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters