[seam-issues] [JBoss JIRA] Closed: (JBSEAM-3704) CLONE - Adding New Role to Group fails

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Jan 22 09:21:34 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-3704.
-----------------------------



> CLONE - Adding New Role to Group fails
> --------------------------------------
>
>                 Key: JBSEAM-3704
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3704
>             Project: Seam
>          Issue Type: Bug
>          Components: Examples, Security
>    Affects Versions: 2.1.0.GA
>         Environment: JDK 5
> JBoss AS 4.2.3
>            Reporter: Julien Hattier
>            Assignee: Shane Bryzak
>             Fix For: 2.1.0.SP1
>
>
> I am getting ClassCastException when trying to add new role. To reproduce try adding new role that will be member of some other exsting role,
> using identityManager.addRoleToGroup().
> Here is the output involved :
> Caused by java.lang.ClassCastException with message: "sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class"
> org.jboss.seam.security.management.JpaIdentityStore.addRoleToGroup(JpaIdentityStore.java:425)
> org.jboss.seam.security.management.IdentityManager.addRoleToGroup(IdentityManager.java:158)
> ...
> I'm workin on a jetty/easybeans server and the security components works well when I'm not using groups. I use the same entity objects User and Role as given in the documentation.

-- 
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

        


More information about the seam-issues mailing list