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']}"
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
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