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
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.10.4
    • 2.10.5
    • 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

          Build couchbase-server-6.5.0-4712 contains libcouchbase commit c7673bf with commit message:
          CCBC-1063: cache credentials provided by dynamic auth callback

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-4712 contains libcouchbase commit c7673bf with commit message: CCBC-1063 : cache credentials provided by dynamic auth callback

          Build couchbase-server-7.0.0-1026 contains libcouchbase commit c7673bf with commit message:
          CCBC-1063: cache credentials provided by dynamic auth callback

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1026 contains libcouchbase commit c7673bf with commit message: CCBC-1063 : cache credentials provided by dynamic auth callback

          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