Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1977

Gremlin-JavaScript: Support SASL authentication

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.3, 3.2.9
    • Fix Version/s: 3.4.0, 3.3.4, 3.2.10
    • Component/s: javascript
    • Labels:
      None

      Description

      We should add support for SASL authentication flow, ideally a generic interface and an implementation using username and password.

      An authenticator could have the following interface:

      /** @abstract */
      class Authenticator {
        /**
        @returns {Promise} Returns a promise containing the Request to be sent.
        When the Promise resolves to a null value, it indicates that the authentication flow was successful.
        */ 
        evaluateChallenge(response) {
          throw new Error("evaluateChallenge should be implemented");
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jorgebg Jorge Bay
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: