1 Reply Latest reply on Nov 7, 2007 8:05 PM by shane.bryzak

    Problem using identity roles

    pdhaigh

      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?