You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jorge Bay (JIRA)" <ji...@apache.org> on 2018/06/04 07:30:00 UTC
[jira] [Created] (TINKERPOP-1977) Gremlin-JavaScript: Support SASL
authentication
Jorge Bay created TINKERPOP-1977:
------------------------------------
Summary: Gremlin-JavaScript: Support SASL authentication
Key: TINKERPOP-1977
URL: https://issues.apache.org/jira/browse/TINKERPOP-1977
Project: TinkerPop
Issue Type: Improvement
Components: javascript
Reporter: Jorge Bay
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:
{code:javascript}
/** @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");
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)