[jbossts-issues] [JBoss JIRA] (JBTM-2904) ConnectionManager no longer uses the underlying XADataSource's credentials when none are provided in its Properties
Tom Jenkinson (JIRA)
issues at jboss.org
Wed Jun 7 04:23:00 EDT 2017
[ https://issues.jboss.org/browse/JBTM-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson resolved JBTM-2904.
---------------------------------
Resolution: Duplicate Issue
[~awilkinson] - should be fixed (as of very recently) here: JBTM-2902, if not, please do re-open
> ConnectionManager no longer uses the underlying XADataSource's credentials when none are provided in its Properties
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JBTM-2904
> URL: https://issues.jboss.org/browse/JBTM-2904
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Affects Versions: 5.5.7.Final
> Reporter: Andy Wilkinson
>
> I believe that [this commit|https://github.com/jbosstm/narayana/commit/789a02b78c8ffe5a7a079604e9ba712287cdf7d1] 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbossts-issues
mailing list