public class JanusGraphSimpleAuthenticator extends JanusGraphAbstractAuthenticator
Authenticator that uses a Graph instance as a credential store.
Management of the credential store can be handled through the CredentialTraversalDsl.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.tinkerpop.gremlin.server.auth.SimpleAuthenticator |
simpleAuthenticator |
CONFIG_DEFAULT_PASSWORD, CONFIG_DEFAULT_USER, USERNAME_INDEX_NAME| Constructor and Description |
|---|
JanusGraphSimpleAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.server.auth.AuthenticatedUser |
authenticate(Map<String,String> credentials) |
protected org.apache.tinkerpop.gremlin.server.auth.SimpleAuthenticator |
createSimpleAuthenticator() |
org.apache.tinkerpop.gremlin.server.auth.Authenticator.SaslNegotiator |
newSaslNegotiator(InetAddress remoteAddress) |
void |
setup(Map<String,Object> config) |
createCredentials, findUser, openGraph, requireAuthenticationprotected org.apache.tinkerpop.gremlin.server.auth.SimpleAuthenticator simpleAuthenticator
public void setup(Map<String,Object> config)
setup in interface org.apache.tinkerpop.gremlin.server.auth.Authenticatorsetup in class JanusGraphAbstractAuthenticatorpublic org.apache.tinkerpop.gremlin.server.auth.Authenticator.SaslNegotiator newSaslNegotiator(InetAddress remoteAddress)
newSaslNegotiator in interface org.apache.tinkerpop.gremlin.server.auth.AuthenticatornewSaslNegotiator in class JanusGraphAbstractAuthenticatorpublic org.apache.tinkerpop.gremlin.server.auth.AuthenticatedUser authenticate(Map<String,String> credentials) throws org.apache.tinkerpop.gremlin.server.auth.AuthenticationException
org.apache.tinkerpop.gremlin.server.auth.AuthenticationExceptionprotected org.apache.tinkerpop.gremlin.server.auth.SimpleAuthenticator createSimpleAuthenticator()
Copyright © 2012–2024. All rights reserved.