David Lloyd created JBJCA-1222:
----------------------------------
Summary: org.jboss.jca.adapters.jdbc.WrapperDataSource#getConnection()
requires unusual permissions
Key: JBJCA-1222
URL:
https://issues.jboss.org/browse/JBJCA-1222
Project: IronJacamar
Issue Type: Bug
Reporter: David Lloyd
Assignee: Jesper Pedersen
The WrapperDataSource calls AbstractConnectionManager#allocateConnection() which in turn
causes JBossSecuritySubjectFactory#createSubject() to be called. This method requires
special/unusual permissions that a user deployment cannot be expected to configure.
The connection manager and/or the wrapper data source should probably check a more
pedestrian "get connection" sort of permission, and then do the rest of the work
in a privileged context.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)