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 Summary

    Modifier and Type
    Method
    Description
    default org.neo4j.driver.AuthToken
    Returns the token to use for authentication.
    default @Nullable org.neo4j.driver.AuthTokenManager
    Returns the AuthTokenManager to use for authentication.
    default URI
    Returns the URI of the Neo4j server.
  • 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 org.neo4j.driver.AuthToken getAuthToken()
      Returns the token to use for authentication. Defaults to AuthTokens.none().
      Returns:
      the auth token
    • getAuthTokenManager

      default @Nullable org.neo4j.driver.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