- From: Mercurial notifier <nobody@w3.org>
- Date: Mon, 14 Jun 2010 09:22:34 -0400
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1214:dcb29c32b411
user: Thomas Gambet <tgambet@w3.org>
date: Sat Jun 12 22:08:59 2010 -0400
files: WebContent/WEB-INF/web.xml
description:
secured /init with digest authentication
diff -r 4f3c1a280c6e -r dcb29c32b411 WebContent/WEB-INF/web.xml
--- a/WebContent/WEB-INF/web.xml Sat Jun 12 19:44:44 2010 -0400
+++ b/WebContent/WEB-INF/web.xml Sat Jun 12 22:08:59 2010 -0400
@@ -46,4 +46,18 @@
<servlet-name>TestObserver</servlet-name>
<url-pattern>/test</url-pattern>
</servlet-mapping>
+ <!-- Init servlet security. Add a user with unicorn_admin role in your server configuration. -->
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Unicorn Init Servlet</web-resource-name>
+ <url-pattern>/init</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>unicorn_admin</role-name>
+ </auth-constraint>
+ </security-constraint>
+ <login-config>
+ <auth-method>DIGEST</auth-method>
+ <realm-name>Unicorn Initialization</realm-name>
+ </login-config>
</web-app>
\ No newline at end of file
Received on Monday, 14 June 2010 13:25:12 UTC