forked from graphaware/neo4j-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use of existing connection data when creating driver for bolt instead of creating a new one from scratch.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a625877
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using URI connections like
bolt://USER:PASS@ssl+HOST:24786
two thing happens:ConnectionBuilder
removesUSER:PASS
so credentials are not found and not set inBuildDriver()
ssl+
or passing a\GraphAware\Bolt\Configuration
objectThis fix uses the preexisting config from
ConnectionBuilder
and extends it if necessary atBuildDriver()