ozeigermann 2004/04/01 01:17:32
Modified: src/conf/webapp web.xml
Log:
Added additional security settings as described in #27711
Revision Changes Path
1.26 +23 -1 jakarta-slide/src/conf/webapp/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/conf/webapp/web.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- web.xml 27 Aug 2003 15:44:37 -0000 1.25
+++ web.xml 1 Apr 2004 09:17:32 -0000 1.26
@@ -190,6 +190,19 @@
</description>
</init-param>
<load-on-startup>1</load-on-startup>
+ <!-- Uncomment this to get authentication -->
+ <@AUTHsecurity-role-ref>
+ <role-name>root</role-name>
+ <role-link>root</role-link>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>guest</role-name>
+ <role-link>guest</role-link>
+ </security-role-ref>
+ <security-role-ref>
+ <role-name>user</role-name>
+ <role-link>user</role-link>
+ </[EMAIL PROTECTED]@>
</servlet>
<!-- The mapping for the Slide WebDAV servlet.
If you change the mapping so that the servlet isn't the default servlet
@@ -643,5 +656,14 @@
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Slide DAV Server</realm-name>
- </[EMAIL PROTECTED]@>
+ </login-config>
+ <security-role>
+ <role-name>root</role-name>
+ </security-role>
+ <security-role>
+ <role-name>guest</role-name>
+ </security-role>
+ <security-role>
+ <role-name>user</role-name>
+ </[EMAIL PROTECTED]@>
</web-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]