Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplifies config for (not) using encryption. #345

Merged
merged 1 commit into from
Apr 3, 2017

Conversation

technige
Copy link
Contributor

No description provided.

@technige technige requested a review from lutovich March 27, 2017 22:15
Copy link
Contributor

@lutovich lutovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@technige PR looks good, couple small questions

/**
* @return indicator for encrypted communication.
*/
public boolean encrypted()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about isEncrypted name for this method?

@@ -328,9 +337,30 @@ public ConfigBuilder withConnectionLivenessCheckTimeout( long value, TimeUnit un
* @param level the TLS level to use
* @return this builder
*/
@Deprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EncryptionLevel enum should probably also be deprecated

@zhenlineo zhenlineo self-assigned this Apr 3, 2017
@zhenlineo zhenlineo merged commit b690350 into neo4j:1.3 Apr 3, 2017
@zhenlineo
Copy link
Contributor

zhenlineo commented Apr 3, 2017

Interesting we already have public boolean logLeakedSessions().
So maybe we should keep public boolean encrypted() instead? CC @lutovich

@lutovich
Copy link
Contributor

lutovich commented Apr 3, 2017

@zhenlineo yeah, let's then keep #encrypted()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants