--- BaseDataSource.java    Thu Apr 06 09:54:43 2006
+++ BaseDataSource.patched.java    Thu Apr 06 09:51:39 2006
@@ -47,6 +47,7 @@
     private String databaseName;
     private String user;
     private String password;
+    private boolean ssl = false;
     private int portNumber;
     private int prepareThreshold;
     private int loginTimeout; // in seconds
@@ -262,13 +263,28 @@
     }
 
     /**
+     * Is SSL enabled?
+     */
+    public String isSsl() {
+        return ""+ssl;
+    }
+
+    /**
+     * Enable or disable SSL.
+     * @param ssl enable or disable SSL.
+     */
+    public void setSsl(String ssl) {
+        this.ssl = Boolean.valueOf(ssl).booleanValue();
+    }
+
+    /**
      * Generates a DriverManager URL from the other properties supplied.
      */
     private String getUrl()
     {
         return
             "jdbc:postgresql://" + serverName + (portNumber == 0 ? "" : 
