Hello Ben, i followed what you told me....... i read docs and wrote a beanRefFactory.xml file that i placed into jboss/server/default/conf
i have updated login-config.xml in the above file i have moved (as suggested by docs) some jars to jboss/server/default/lib directory however i am missing something./... do i need to declare any filters in my application's web.xml?# you were talking about ContextHolderAwareRequestFilter 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> are there any other filters that need to be declared? thanks in advance and regards marco On 6/29/05, Ben Alex <[EMAIL PROTECTED]> wrote: > Marco Mistroni wrote: > > >Hello all, > > has anyone ever used Struts Menu together wtih Acegi? > >Following what's explained in this link > >http://struts-menu.sourceforge.net/security.html > > > >i would like to implement my own PermissionAdapter that uses Acegi in > >order to load dynamically menu items for my application.. > > > > > > > > > Hi Macro > > I just read > http://struts-menu.sourceforge.net/apidocs/net/sf/navigator/menu/RolesPermissionsAdapter.html > and looked at its source at > http://struts-menu.sourceforge.net/xref/net/sf/navigator/menu/RolesPermissionsAdapter.html, > and it simply uses HttpServletRequest.isUserInRole(String) internally. > Thus, you can use the ContextHolderAwareRequestFilter to interface this > tool with Acegi Security. It's discussed more at > http://acegisecurity.sourceforge.net/docbook/acegi.html#security-container-adapters-overview. > > Best regards > Ben > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > 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