public class AuthTokens extends Object
GraphDatabase.driver(String, AuthToken)
Constructor and Description |
---|
AuthTokens() |
public static AuthToken basic(String username, String password)
username
- this is the "principal", identifying who this token representspassword
- this is the "credential", proving the identity of the userGraphDatabase.driver(String, AuthToken)
public static AuthToken none()
GraphDatabase.driver(String, AuthToken)
Copyright © 2016. All rights reserved.