I Java was: public Neo4JOut(String ip, String user, String password, boolean encryption) { Config cfgSSL; if (encryption) cfgSSL = Config.build().withEncryptionLevel(Config.EncryptionLevel.REQUIRED).toConfig(); else cfgSSL = Config.build().withEncryptionLevel(Config.EncryptionLevel.NONE).toConfig(); driver = GraphDatabase.driver("bolt://" + ip, AuthTokens.basic(user, password), cfgSSL); session = driver.session(); }
-- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.