Hello Ben,
   yes it worked fine, however i found out a different problem (which
i doubt is due to acegi).
I have two users, one with 2 roles (USER & SUPERVISOR) and another
with only 1 role (USER).
i have 3 menu, and if i configure one of them available to SUPERVISOR
only, for some weird reasons that 'settings' override everything, so
that users iwth only USER role won't be able to see any menu at
all....
i put some logging, and i was able to see that acegi behaviour is just
fine (hte user with 2 roles has in fact 2 granted authorities)..

i'll get back when i can find out what's wrong with struts menu...

thanx and regards
  marco

On 7/11/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> Marco Mistroni wrote:
> 
> >will this be a correct declaration in web.xml?
> >
> ><filter>
> >        <filter-name>ContextHolderAware Filter</filter-name>
> >        
> > <filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
> >        <init-param>
> >            <param-name>targetClass</param-name>
> >            
> > <param-value>net.sf.acegisecurity.wrapper.ContextHolderAwareRequestFilter</param-value>
> >        </init-param>
> >   </filter>
> >
> >
> >
> ><filter-mapping>
> >  <filter-name>ContextHolderAware Filter</filter-name>
> >  <url-pattern>/*</url-pattern>
> ></filter-mapping>
> >
> >
> >
> >
> This looks correct to me. Are your filter orders correct? See
> http://acegisecurity.sourceforge.net/docbook/acegi.html#security-filters-order.
> 
> Best regards
> Ben
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by HP,
> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to