Hello.
I have set up a simple service using the WebdavServlet (mapped to /*) for a single user. I have overrided getResources() to define a FileDirContext to store the files. The security are defined in web-xml as a security-constraint. Everything is working very well.
So, someone want this service to work with more than one user :) The different users should not see each other files. I could ask user a to use url http://server.com/service/a and user b to use url http://server.com/service/b, but how can I protect /b from user a and /a from user b? Is it possible to define a url-pattern like "/${username}/*" in a security-constraint in web.xml?
Perhaps I should jump to slide? So far WebdavServlet has been perfect.
- Tore.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
