public class SaslAndHMACAuthenticator extends JanusGraphAbstractAuthenticator
CONFIG_DEFAULT_PASSWORD, CONFIG_DEFAULT_USER, USERNAME_INDEX_NAME| Constructor and Description |
|---|
SaslAndHMACAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.server.auth.AuthenticatedUser |
authenticate(Map<String,String> credentials) |
protected HMACAuthenticator |
createHMACAuthenticator() |
protected JanusGraphSimpleAuthenticator |
createSimpleAuthenticator() |
HMACAuthenticator |
getHMACAuthenticator() |
JanusGraphSimpleAuthenticator |
getSimpleAuthenticator() |
org.apache.tinkerpop.gremlin.server.auth.Authenticator.SaslNegotiator |
newSaslNegotiator() |
org.apache.tinkerpop.gremlin.server.auth.Authenticator.SaslNegotiator |
newSaslNegotiator(InetAddress remoteAddress) |
void |
setup(Map<String,Object> config) |
createCredentials, findUser, openGraph, requireAuthenticationpublic 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.Authenticator.SaslNegotiator newSaslNegotiator()
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.AuthenticatedUser authenticate(Map<String,String> credentials) throws org.apache.tinkerpop.gremlin.server.auth.AuthenticationException
org.apache.tinkerpop.gremlin.server.auth.AuthenticationExceptionpublic JanusGraphSimpleAuthenticator getSimpleAuthenticator()
public HMACAuthenticator getHMACAuthenticator()
protected JanusGraphSimpleAuthenticator createSimpleAuthenticator()
protected HMACAuthenticator createHMACAuthenticator()
Copyright © 2012–2023. All rights reserved.