Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
5.5.7.Final
-
None
-
None
Description
I believe that this commit has introduced a regression in how ConnectionManager handles credentials. Previously, if the Properties contained an XADataSource and no credentials, the data source's default credentials would be used, i.e. XADataSource.getXAConnection() would be called by ProvidedXADataSourceConnection. With the aforelinked change, ConnectionManager now coerces null credentials to empty strings. As a result XADataSource.getXAConnection(String, String) is called by ProvidedXADataSourceConnection with the empty credentials.