Update documentation of default SecurityMode.

This commit is contained in:
Jonathan Lennox 2021-09-09 17:28:25 +00:00
parent 0d73c21945
commit f0a0796d33
1 changed files with 2 additions and 2 deletions

View File

@ -405,7 +405,7 @@ public abstract class ConnectionConfiguration {
/**
* Returns the TLS security mode used when making the connection. By default,
* the mode is {@link SecurityMode#ifpossible}.
* the mode is {@link SecurityMode#required}.
*
* @return the security mode.
*/
@ -960,7 +960,7 @@ public abstract class ConnectionConfiguration {
/**
* Sets the TLS security mode used when making the connection. By default,
* the mode is {@link SecurityMode#ifpossible}.
* the mode is {@link SecurityMode#required}.
*
* @param securityMode the security mode.
* @return a reference to this builder.