1 Reply Latest reply on Dec 23, 2008 10:09 AM by ushohet

    Acegi and Seam 2.1.1.GA

    ushohet

      Hi All,


      I'm using Acegi Security 1.0.3 to do the authentication (for historical reasons). On my facelet pages I then use

      rendered="#{isUserInRole['ADMIN']}"

      to show/hide stuff. This works OK with Seam 2.0.2.SP1.


      Now I'm testing Seam 2.1.1.GA and there's a problem with this kind of thing - isUserInRole and #{facesContext.externalContext.request.remoteUser} always return null.


      I've tried putting <web:identity-filter disabled=true /> in my components.xml but this didn't help. I've also tried adding security-enabled=false to <core:init /> - this didn't help either.


      Any help would be much appreciated.


      Thanks in advance,


      Uri

        • 1. Re: Acegi and Seam 2.1.1.GA
          ushohet

          I'm sorry, my fault. Everything works fine.


          I just found that I was loading old version of components.xml (from Maven's target directory) and of course my changes weren't picked up. Shame on me :-)


          Uri