-
1. Re: Security: IdentityObject class and private fields
lightguard Jun 6, 2011 5:33 PM (in response to riboriori)Are you running with a SecurityManager enabled? Also the source of IdentityObject would be helpful, and possibly IdentitySession.
-
2. Re: Security: IdentityObject class and private fields
shane.bryzak Jun 6, 2011 6:25 PM (in response to riboriori)As Jason said, source for IdentityObject would be nice (IdentitySession is a PicketLink interface). Also can you post more of the stack trace? There's not enough info there to determine from where in the (I assume) JpaIdentityStore class the exception is originating from.
-
3. Re: Security: IdentityObject class and private fields
haye Jun 6, 2011 6:38 PM (in response to riboriori)I've had the same exception when using seam-security on glassfish 3.1. I even filed the bug https://issues.jboss.org/browse/SEAM-87. Please vote the bug up to get it resolved.
I'm using a workaround at the moment (checked out seam-security and made changes locally).
-
4. Re: Security: IdentityObject class and private fields
haye Jun 6, 2011 6:46 PM (in response to riboriori)Also, the only way I could get things to work on glassfish (haven't tested with Jboss AS 6) was to place the seam identity annotations on the getters and the JPA annotations on the fields. The only remaining issue then was dealing with the @Id annotation on the IdentityObject class, which I had to do workaround for.