jbossas/jboss-as — pull request #3213 by jaikiran (2012-10-09 12:09:40+00:00)
Title: [master] Fix for AS7-5368 and AS7-5331

The commits in this PR fixes the issue where the UserTransaction was made available to CMT beans in violation to the EJB spec. The issue was reported in https://issues.jboss.org/browse/AS7-5368 and https://issues.jboss.org/browse/AS7-5331.

This has now been fixed and a testcase added to make sure that we no longer allow access to UserTransaction, wherever it isn't allowed.

One of the commits here fixes a bunch of tests which were using UserTransaction in CMT beans.