[jboss-user] [JBoss Seam] - Re: Instance.hasRole()...
do-not-reply at jboss.com
Sat Jul 7 08:59:29 EDT 2007
"bulloncito" wrote : I use
| Identity identity = Identity.instance() ;
| .. (no @In) and then
| identity.addRole( someString ) ;
| ... for each role and everything works fine.
| Maybe all those Identity.instance() aren't apropiate (they should be)
I actually tried it all three ways.. With Identity.instance() everywhere.. with @In and with Identity ident = Identity.instance(). None of them work. So I'm guessing I missed something in the config. As an extra note.. This is a default configuration. I did seam new-project and seam generate-entities. then modifed the Authenticator. So it's quite possible I missed a step from the docs...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061590#4061590
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061590
More information about the jboss-user