commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38603] New: - add a socketFactory attribute to BasicDataSource (to allow SSL "thread"-safe)
Date Fri, 10 Feb 2006 07:45:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38603

           Summary: add a socketFactory attribute to BasicDataSource (to
                    allow SSL "thread"-safe)
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


An app that accesses 2 datasources at two different places with different
security policies via SSL (different set of permitted ciphers) currently is out
of luck (http://lists.mysql.com/java/8689).

The basic datasource should be enhanced with 
 
  String socketFactory = "";

and the corresponding getter and setter method, etc.

org.apache.commons.dbcp.DriverConnectionFactory.createConnection() could then
hand-over this full className via its Properties argument to enable different
SSL policies per datasource (so, since the application programmer doesn't have
the thread under her control, I guess it should rather be called "dataSource-safe").

The jdbc driver implementation can then use this to take the appropriate socket
factory when creating a connection.

See also http://lists.mysql.com/java/8695

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message