[ https://issues.apache.org/jira/browse/TINKERPOP-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jorge Bay closed TINKERPOP-1977. -------------------------------- Resolution: Done > Gremlin-JavaScript: Support SASL authentication > ----------------------------------------------- > > Key: TINKERPOP-1977 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1977 > Project: TinkerPop > Issue Type: Improvement > Components: javascript > Affects Versions: 3.3.3, 3.2.9 > Reporter: Jorge Bay > Priority: Major > Fix For: 3.4.0, 3.3.4, 3.2.10 > > > 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)