| Package | Description |
|---|---|
| org.neo4j.driver |
| Modifier and Type | Method and Description |
|---|---|
static AuthToken |
AuthTokens.basic(String username,
String password)
The basic authentication scheme, using a username and a password.
|
static AuthToken |
AuthTokens.basic(String username,
String password,
String realm)
The basic authentication scheme, using a username and a password.
|
static AuthToken |
AuthTokens.custom(String principal,
String credentials,
String realm,
String scheme)
A custom authentication token used for doing custom authentication on the server side.
|
static AuthToken |
AuthTokens.custom(String principal,
String credentials,
String realm,
String scheme,
Map<String,Object> parameters)
A custom authentication token used for doing custom authentication on the server side.
|
static AuthToken |
AuthTokens.kerberos(String base64EncodedTicket)
The kerberos authentication scheme, using a base64 encoded ticket
|
static AuthToken |
AuthTokens.none()
No authentication scheme.
|
| Modifier and Type | Method and Description |
|---|---|
static Driver |
GraphDatabase.driver(String uri,
AuthToken authToken)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
GraphDatabase.driver(String uri,
AuthToken authToken,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
GraphDatabase.driver(URI uri,
AuthToken authToken)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
GraphDatabase.driver(URI uri,
AuthToken authToken,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
GraphDatabase.routingDriver(Iterable<URI> routingUris,
AuthToken authToken,
Config config)
Try to create a neo4j driver from the first available address.
|