diff --git a/bindings/java/src/org/sleuthkit/datamodel/CaseDbConnectionInfo.java b/bindings/java/src/org/sleuthkit/datamodel/CaseDbConnectionInfo.java index 2aa4d17ca475a0815e911b2caaa85908ab6d0911..3fc1af058c216ac4179acd9ce2e8cb8b09527a17 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/CaseDbConnectionInfo.java +++ b/bindings/java/src/org/sleuthkit/datamodel/CaseDbConnectionInfo.java @@ -68,9 +68,15 @@ public CaseDbConnectionInfo(String hostNameOrIP, String portNumber, String userN /** * The intent of this class is to hold any information needed to connect to - * a remote database server, except for the actual database name. This constructor - * allows user to specify whether to use SSL to connect to database. This does - * not hold information to connect to a local database such as SQLite. + * a remote database server, except for the actual database name. This + * constructor allows user to specify whether to use SSL to connect to + * database. This does not hold information to connect to a local database + * such as SQLite. + * + * This constructor allows to specify a Java class that performs custom + * PostgreQSL server SSL certificate validation (if 'sslVerify' is set to + * 'true'). If not specified, the application's default JRE keystore will be + * used. * * It can be used generically to hold remote database connection * information. @@ -84,9 +90,12 @@ public CaseDbConnectionInfo(String hostNameOrIP, String portNumber, String userN * @param sslVerify 'true' if SSL certificate needs to be CA verified. 'false' if self-signed certificates should be accepted. * @param customSslValidationClassName full canonical name of a Java class * that performs custom SSL certificate - * validation. + * validation. If blank, the + * application's default JRE keystore + * will be used. */ - public CaseDbConnectionInfo(String hostNameOrIP, String portNumber, String userName, String password, DbType dbType, boolean sslEnabled, boolean sslVerify, String customSslValidationClassName) { + public CaseDbConnectionInfo(String hostNameOrIP, String portNumber, String userName, String password, DbType dbType, + boolean sslEnabled, boolean sslVerify, String customSslValidationClassName) { this.hostNameOrIP = hostNameOrIP; this.portNumber = portNumber; this.userName = userName;