Right, use your debugger to find out what is the cause of the typecast failure.
Perhaps you accidently imported org.jboss.seam.core.UserPrincipal class instead of
java.security.Principal?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959992#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...