GitHub user mattallenuk opened a pull request:
https://github.com/apache/tinkerpop/pull/889
Tinkerpop 1977 - Sasl Authentication
Have implemented Sasl Authentication after discussion on Gremlin Users
group. I think this is along the lines of the thinking of the TINKERPOP-1977
(https://issues.apache.org/jira/browse/TINKERPOP-1977). Have added an
authenticator base class and implemented a SaslAuthenticator class on top of
that.
Have made modification to the DriverRemoteConnection class to accommodate
the authentication class. Have also moved UUID function into utils as used in
the SaslAuthenticator as well.
Tested changes on a local project worked great.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mattallenuk/tinkerpop TINKERPOP-1977
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/889.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 #889
----
commit 6aa4e98b7bfb23d432f1d00a0a9d5d79486ba80c
Author: Matthew Allen <matt.allen@...>
Date: 2018-07-06T19:49:54Z
Implementation of Sasl authentication.
commit c466f8af146ba20ff8e0787cb006efc4266a821a
Author: Matthew Allen <matt.allen@...>
Date: 2018-07-06T20:09:57Z
Added tests.
commit 791c0f844db2563db7c2e248a55c165cdb6bbe34
Author: Matthew Allen <matt.allen@...>
Date: 2018-07-06T20:12:16Z
Unsaved changes uploaded
----
---