ozeigermann 2004/04/01 01:15:51
Modified: src/conf/webapp Tag: SLIDE_2_0_RELEASE_BRANCH web.xml
Log:
Added additional security settings as described in #27711
Revision Changes Path
No revision
No revision
1.25.2.1 +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.25.2.1
diff -u -r1.25 -r1.25.2.1
--- web.xml 27 Aug 2003 15:44:37 -0000 1.25
+++ web.xml 1 Apr 2004 09:15:51 -0000 1.25.2.1
@@ -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]