Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Add some toString() methods for debugging never printing user names and passwords:
- org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- org.apache.commons.dbcp2.datasources.UserPassKey (updated not to print passwords even though it was a char[] reference.)
I went YAGNI here and only added what I needed.