DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33639>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33639 ------- Additional Comments From [EMAIL PROTECTED] 2005-02-18 18:29 ------- The key to understanding how all these pieces fit together is the reading all the JavaDocs. :) As for configuration, I will include some snippets from my web.xml and domain.xml as examples. First, web.xml: ---------------- ... <listener> <listener-class>com.marathon.util.spring.GlueContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param> ... <filter> <filter-name>acegiToSlideIntegration</filter-name> <filter-class>com.marathon.security.slide.AcegiToSlideIntegrationFilter</filter-class> </filter> <filter-mapping> <filter-name>acegiToSlideIntegration</filter-name> <servlet-name>webdav</servlet-name> </filter-mapping> ... ---------------- Notice that I've *replaced* Spring's ContextLoaderListener with GlueContextLoaderListener, which will expose my web ApplicationContext to my Slide DAO. The "contextConfigLocation" parameter is the standard Spring parameter for declaring where to load the Spring XML. If you are using Acegi authentication, then you *must* place the Acegi to Slide integration filter *after* all of Acegi's filters and before Slide's WebDAV. Finally, here are the relevant portions of my Slide domain.xml: -------- ... <store name="principals"> <nodestore classname="com.marathon.security.slide.SpringDAOPrincipalStore"> <parameter name="daoPrincipal.spring.contextName">defaultWebContext</parameter> <parameter name="daoPrincipal.spring.beanName">slide.principalStoreDao</parameter> </nodestore> <securitystore> <reference store="nodestore"/> </securitystore> <lockstore> <reference store="nodestore"/> </lockstore> <revisiondescriptorsstore> <reference store="nodestore"/> </revisiondescriptorsstore> <revisiondescriptorstore> <reference store="nodestore"/> </revisiondescriptorstore> <contentstore> <reference store="nodestore"/> </contentstore> </store> <scope match="/" store="j2ee"/> <scope match="/users" store="principals"/> <scope match="/roles" store="principals"/> <scope match="/groups" store="principals"/> ... <configuration> ... <userspath>/users</userspath> <rolespath>/roles</rolespath> <groupspath>/groups</groupspath> ... -------- -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
