Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1063

Cache credentials provided by dynamic auth callback

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.10.5
    • 2.10.4
    • library
    • None
    • 1

    Description

      Eventing implements the dynamic auth callbacks. The libcouchbase SDK calls these callbacks whenever it needs the credentials. It's quite expensive to get the credentials as it would involve reaching out to cbauth.

      Thus, it's best if the SDK caches the credentials. The SDK has the ability to discern if an auth failure has taken place (as it parses the final N1QL row). On such an event, it can invalidate its cache and call the dynamic auth callbacks to get fresh credentials.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            Gautham.Banasandra Gautham Banasandra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty