Github user jorgebay commented on the issue:

    https://github.com/apache/tinkerpop/pull/889
  
    Looking at Python and C# GLVs support for authentication, I think there are 
2 possible routes:
    a) Provide a simple plain text auth mechanism, similar to Python and C# 
GLVs: 
https://github.com/apache/tinkerpop/blob/tp33/gremlin-python/src/main/jython/gremlin_python/driver/protocol.py#L79-L82
    b) Provide a full blown SASL authenticator.
    
    The easiest one is doing a), and that's it. If you plan to support b) with 
an `Authenticator` interface, we should make sure that it will support 
different SASL auth mechanisms. For example: `Authenticator` should create a 
new instance of `SaslClient`, sending the host name, etc.. This `SaslClient` 
evaluates each challenge and creates a new one for the server, similar to 
https://github.com/apache/tinkerpop/blob/tp33/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Handler.java#L88-L110


---

Reply via email to