[jboss-jira] [JBoss JIRA] (JBJCA-1179) Guard against Subject modification

Ivo Studensky (JIRA) issues at jboss.org
Fri May 23 07:06:57 EDT 2014


    [ https://issues.jboss.org/browse/JBJCA-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970041#comment-12970041 ] 

Ivo Studensky commented on JBJCA-1179:
--------------------------------------

[~simkam] It seems to be a bug of the test itself, more precisely its misconfiguration. You cannot call  {{ds.getConnection()}} and {{ds.getConnection("dballo01", "dballo01");}} on the same datasource without enabled {{allow-multiple-users=true}}. That's the reason why 'allow-multiple-users' parameter exists. Otherwise, the connections are cached by Subject only and cannot distinguish between subject based and CRI based connection.

At my side only \{XA\}Datasource*Without*AllowMultipleUsersTestCase tests are failing due to 'Wrong credentials passed to getConnection!'.

> Guard against Subject modification
> ----------------------------------
>
>                 Key: JBJCA-1179
>                 URL: https://issues.jboss.org/browse/JBJCA-1179
>             Project: IronJacamar
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 1.0.26.Final, 1.1.6.Final, 1.2.0.Beta2
>            Reporter: Jesper Pedersen
>            Assignee: Jesper Pedersen
>         Attachments: ironjacamar-jdbc.jar
>
>




--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list