[jboss-user] [JBoss Seam] - Re: Injecting UserPrincipal

2006-07-21 Thread c_eric_ray
"DOH" ... I'll change my import statement. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959996#3959996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959996 ___ jboss-user m

[jboss-user] [JBoss Seam] - Re: Injecting UserPrincipal

2006-07-21 Thread [EMAIL PROTECTED]
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#3959992 Reply to

[jboss-user] [JBoss Seam] - Re: Injecting UserPrincipal

2006-07-21 Thread CptnKirk
It's legal. From the exception it looks like the argument being passed to setUserPrincipal() isn't actually of type UserPrincipal. How is this method getting called? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959990#3959990 Reply to the post : http://