glassfish_at_javadesktop.org wrote:
> I guess another way to look at this is from the last sentence in the developer manual for SJSAS 9.1:
>
> "You can add the WebDav servlet to your default-web.xml file to enable it for all applications,
> but you can't set up a security role mapping to protect it."
>
> I see that one can put all of this into web.xml for an installed application, but WebDAV isn't an install application, is it?
WebDav implementation is build on top of a Servlet. That's why you can
either defines it in default-web.xml (so available to all deployed
application that define the security constraint) or web.xml (and later
define your security mapping in sun-web.xml):
http://weblogs.java.net/blog/jfarcand/archive/2006/03/enabling_webdav_1.html
(I suspect the docs is similar to the blog).
Thanks
-- Jeanfrancois
>
> I really don't want the configuration in default-web.xml, of course, as it needs to be secured. I don't get where web.xml and sun-web.xml are for WebDAV. I don't see clarification on this in any manual.
>
> ==Leonard
> [Message sent by forum member 'sitongia' (sitongia)]
>
> http://forums.java.net/jive/thread.jspa?messageID=241431
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>