[
http://jira.jboss.com/jira/browse/JBSEAM-2029?page=comments#action_12403905 ]
Pete Muir commented on JBSEAM-2029:
-----------------------------------
The signature for getXXXMethod is wrong, it needs to take in the EntityManager as well.
This has implications for the whole of checkEntityPermission.
Identity.checkEntityPermission() fails for entities mapped using
orm.xml or .hbm.xml
------------------------------------------------------------------------------------
Key: JBSEAM-2029
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2029
Project: JBoss Seam
Issue Type: Bug
Components: Security
Affects Versions: 2.0.0.CR1
Reporter: Pete Muir
Assigned To: Shane Bryzak
Fix For: 2.0.2.GA
Entity.forClass() isn't a great way to determine the entity's Class and should be
done through PersistenceProvider
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira