Exemplo n.º 1
0
 @Override
 public void saveSettings(DBWHandlerConfiguration configuration) {
   configuration
       .getProperties()
       .put(MySQLConstants.PROP_REQUIRE_SSL, String.valueOf(requireSSQL.getSelection()));
   configuration
       .getProperties()
       .put(MySQLConstants.PROP_VERIFY_SERVER_SERT, String.valueOf(veryServerCert.getSelection()));
   configuration
       .getProperties()
       .put(
           MySQLConstants.PROP_SSL_PUBLIC_KEY_RETRIEVE,
           String.valueOf(allowPublicKeyRetrieval.getSelection()));
   configuration
       .getProperties()
       .put(MySQLConstants.PROP_SSL_CLIENT_CERT, clientCertText.getText());
   configuration.getProperties().put(MySQLConstants.PROP_SSL_CLIENT_KEY, clientKeyText.getText());
   configuration.getProperties().put(MySQLConstants.PROP_SSL_CA_CERT, clientCAText.getText());
   configuration
       .getProperties()
       .put(MySQLConstants.PROP_SSL_CIPHER_SUITES, cipherSuitesText.getText());
   //        configuration.getProperties().put(MySQLConstants.PROP_SSL_DEBUG,
   // String.valueOf(debugSSL.getSelection()));
 }