[jboss-user] [JBoss Seam] - Problem using identity roles

pdhaigh do-not-reply at jboss.com
Wed Nov 7 07:37:15 EST 2007


Hi,

I have having an issues using identity roles. I have previously used this:

<restrict>#{!s:hasRole('participant')}</restrict>

With no issues, but on my current development (using Seam 2.0.0.GA), this is not working. I did some investigtation, and tried the following in my authenticate method:

identity.addRole("test");        		
  | log.info("Identity role #0: #1","test", identity.hasRole("test"));

Which produced 

[...security.Authenticator] Identity role test: false

What could I be missing? 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102511#4102511

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102511



More information about the jboss-user mailing list