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: Bug
Components: Security
Affects Versions: 2.1.0.SP1
Environment: JBoss 4.2.2 JVM 1.6.0
Reporter: Stefano Travelli
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