GitHub user FlorianHockmann opened a pull request:
https://github.com/apache/tinkerpop/pull/625
TINKERPOP-1552: Add support for authentication (Plain SASL) to Gremlin.Net
https://issues.apache.org/jira/browse/TINKERPOP-1552
This adds support for authentication with Plain SASL (username + password)
to the Gremlin.Net driver. The functionality was originally implemented for the
pre-GLV version of Gremlin.Net by @TigerSun-MS from the @CosmosDB team (see
FlorianHockmann/Gremlin.Net#7).
The Gremlin Server instance used for the authentication related integration
tests complains during startup about some duplicate metric name, but everything
works as expected and all tests pass. This is the beginning of the stack trace:
```
[WARNING] Could not initialize gremlin-groovy GremlinScriptEngine as init
script could not be evaluated
java.lang.IllegalArgumentException: A metric named
org.apache.tinkerpop.gremlin.server.GremlinServer.gremlin-groovy.sessionless.class-cache.long-run-compilation-count
already exists
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/FlorianHockmann/tinkerpop
dotnet-authentication
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/625.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #625
----
commit 64d2236a38f550e77fd7faae1638f5a83a516af4
Author: Florian Hockmann <[email protected]>
Date: 2017-06-12T20:09:24Z
Add support for authentication (Plain SASL) to Gremlin.Net
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---