anchor.diff:  
   In some cases you won't want to, or will not be able to provide configuration information using a properties file. In this case you can configure the OGM programmatically instead.
   
  -The `Components` class provides access to the various Configuration classes:
  -
  -[source,java]
  -----
  -DriverConfiguration driverConfig = Components.configuration().driverConfiguration());
  -CompilerConfiguration compilerConfig = Components.configuration().compilerConfiguration());
  -----
  -
  -Each Configuration object provides a fluent API to set its configuration options.
  -
  -The following sections describe how to configure the OGM using either a properties file or via Java Configuration.
  +The Configuration object provides a fluent API to set various configuration options.
  +
  +The following sections describe how to configure the OGM driver using either a properties file or via Java Configuration.
   
   === Driver Configuration
   
  
positive.code: [source,java]
  ----
  // embedded
  Components.configuration()
               .driverConfiguration()
               .setURI("bolt://user:password@localhost");
  
  // separately as plain text
  Components.configuration()
               .driverConfiguration()
               .setCredentials("user", "password);
  
  // using a Credentials object
  Credentials credentials = new UsernameAndPasswordCredentials("user", "password");
  Components.configuration()
               .driverConfiguration()
               .setCredentials(credentials);
  ----
  
negative.code: If you want to explicitly configure the SessionFactory you must supply a Configuration object as the first argument to the constructor, followed by the domain class packages.
  [source,java]
  ----
  Configuration configuration = new Configuration()
               .driverConfiguration()
               .setDriverClassName("org.neo4j.ogm.drivers.http.driver.HttpDriver")
               .setURI("http://localhost:7474")
               .setCredentials("user", "password")
  
  SessionFactory sessionFactory = new SessionFactory(configuration, "org.neo4j.example.domain");
  Session session = sessionFactory.openSession();
  ----
  