Interface Neo4jConnectionDetails

All Superinterfaces:
ConnectionDetails

public interface Neo4jConnectionDetails extends ConnectionDetails
Details required to establish a connection to a Neo4j service.
Since:
4.0.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • Method Details

    • getUri

      default URI getUri()
      Returns the URI of the Neo4j server. Defaults to bolt://localhost:7687".
      Returns:
      the Neo4j server URI
    • getAuthToken

      default AuthToken getAuthToken()
      Returns the token to use for authentication. Defaults to AuthTokens.none().
      Returns:
      the auth token
    • getAuthTokenManager

      default @Nullable AuthTokenManager getAuthTokenManager()
      Returns the AuthTokenManager to use for authentication. Defaults to null in which case the auth token should be used.
      Returns:
      the auth token manager