public class SimpleAuthenticator extends Object implements Authenticator
Authenticator that uses a Graph instance as a credential store.
 Management of the credential store can be handled through the CredentialGraph DSL.Authenticator.SaslNegotiator| Modifier and Type | Field and Description | 
|---|---|
| static String | CONFIG_CREDENTIALS_DBThe location of the configuration file that contains the credentials database. | 
| static String | CONFIG_CREDENTIALS_LOCATIONDeprecated. 
 As of release 3.1.1-incubating, if using TinkerGraph, simply rely on it's "persistence" features. | 
| Constructor and Description | 
|---|
| SimpleAuthenticator() | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthenticatedUser | authenticate(Map<String,String> credentials)A "standard" authentication implementation that can be used more generically without SASL support. | 
| Authenticator.SaslNegotiator | newSaslNegotiator()Deprecated. 
 As of release 3.1.1-incubating, replaced by  Authenticator.newSaslNegotiator(InetAddress). | 
| boolean | requireAuthentication()Whether or not the authenticator requires explicit login. | 
| void | setup(Map<String,Object> config)Setup is called once upon system startup to initialize the  Authenticator. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewSaslNegotiator@Deprecated public static final String CONFIG_CREDENTIALS_LOCATION
public static final String CONFIG_CREDENTIALS_DB
public boolean requireAuthentication()
AuthenticatorrequireAuthentication in interface Authenticatorpublic void setup(Map<String,Object> config)
AuthenticatorAuthenticator.setup in interface Authenticator@Deprecated public Authenticator.SaslNegotiator newSaslNegotiator()
Authenticator.newSaslNegotiator(InetAddress).AuthenticatornewSaslNegotiator in interface Authenticatorpublic AuthenticatedUser authenticate(Map<String,String> credentials) throws AuthenticationException
AuthenticatorChannelizer doesn't support SASL directly (like basic
 HTTP authentication).authenticate in interface AuthenticatorAuthenticationExceptionCopyright © 2013–2018 Apache Software Foundation. All rights reserved.