[
https://jira.jboss.org/jira/browse/JBSEAM-3672?page=com.atlassian.jira.pl...
]
Shane Bryzak closed JBSEAM-3672.
--------------------------------
Resolution: Done
Fixed in SVN, thanks for investigating this.
JpaPermissionStore throws IAE "Cannot resolve principal name for
principal.."
------------------------------------------------------------------------------
Key: JBSEAM-3672
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3672
Project: Seam
Issue Type: Feature Request
Components: Security
Affects Versions: 2.1.0.SP1
Environment: JBoss 4.2.2 JVM 1.6.0
Reporter: Stefano Travelli
Assignee: Shane Bryzak
Fix For: 2.1.2.CR1
Given the following conditions:
- JpaPermissionStore configured with a permission entity having PermissionRole and
PermissionUser properties mapped as @ManyToOne relations.
- that @ManyToOne relations are lazy
- checking a permission for a Class target (resolved by ClassIdentifierStrategy)
JpaPermissionStore throws an IllegalStateException "Cannot resolve principal name
for principal..".
I'm figuring out the reason and working on a patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira