larusba / neo4j-jdbc

Neo4j JDBC driver for Neo4j 3.x with BOLT protocol
Apache License 2.0
12 stars 10 forks source link

Passing user / password into the url doesn't work #5

Closed sim51 closed 8 years ago

sim51 commented 8 years ago

If I pass the user & password directly into the url, it doesn't work.

Example : jdbc:bolt://neo4j:admin@localhost/ => doesn't work

Some tools ask to fulfill the login/password of the database and they pass them like this.

sim51 commented 8 years ago

In fact this comes from the connection Properties that is override in the code (also if not empty), not from the url ... sorry.

See https://github.com/larusba/neo4j-jdbc/blob/master/neo4j-jdbc-bolt/src/main/java/it/larusba/neo4j/jdbc/bolt/BoltDriver.java#L58