Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-394

allow user to authenticate against DB in isolated way: authentication doesnt apply to other connections and logs out when done

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Authentication
    • None

    Description

      this can be useful for security purpose, when some admin commands want to be isolated.
      Possible clean solution: add a flag "shareAuth" to requestStart(), which is true by default.

      If false:

      • the thread will stick to same connection as with regular requestStart.
      • any auth() being called will not be cached and shared at DB level.
      • when requestDone() is called, either logOut cmd is called, or connection is closed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: