public abstract class JanusGraphAbstractAuthenticator extends Object implements org.apache.tinkerpop.gremlin.server.auth.Authenticator
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_DEFAULT_PASSWORD
Default password for default username.
|
static String |
CONFIG_DEFAULT_USER
Default username
|
static String |
USERNAME_INDEX_NAME
Name of the index that enables an efficient retrievals by usernames.
|
| Constructor and Description |
|---|
JanusGraphAbstractAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential.CredentialTraversalSource |
createCredentials(JanusGraph graph) |
protected org.apache.tinkerpop.gremlin.structure.Vertex |
findUser(String username) |
abstract org.apache.tinkerpop.gremlin.server.auth.Authenticator.SaslNegotiator |
newSaslNegotiator(InetAddress remoteAddress) |
JanusGraph |
openGraph(String conf) |
boolean |
requireAuthentication() |
void |
setup(Map<String,Object> config) |
public static final String CONFIG_DEFAULT_USER
public static final String CONFIG_DEFAULT_PASSWORD
public static final String USERNAME_INDEX_NAME
public boolean requireAuthentication()
requireAuthentication in interface org.apache.tinkerpop.gremlin.server.auth.Authenticatorpublic abstract org.apache.tinkerpop.gremlin.server.auth.Authenticator.SaslNegotiator newSaslNegotiator(InetAddress remoteAddress)
newSaslNegotiator in interface org.apache.tinkerpop.gremlin.server.auth.Authenticatorpublic org.apache.tinkerpop.gremlin.groovy.jsr223.dsl.credential.CredentialTraversalSource createCredentials(JanusGraph graph)
public JanusGraph openGraph(String conf)
public void setup(Map<String,Object> config)
setup in interface org.apache.tinkerpop.gremlin.server.auth.Authenticatorprotected org.apache.tinkerpop.gremlin.structure.Vertex findUser(String username)
Copyright © 2012–2025. All rights reserved.