activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1075431 - /activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/WEB-INF/web.xml
Date Mon, 28 Feb 2011 17:13:13 GMT
Author: chirino
Date: Mon Feb 28 17:13:13 2011
New Revision: 1075431

URL: http://svn.apache.org/viewvc?rev=1075431&view=rev
Log:
Adding a commented out section on how to use web.xml security.

Modified:
    activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/WEB-INF/web.xml

Modified: activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/WEB-INF/web.xml?rev=1075431&r1=1075430&r2=1075431&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/WEB-INF/web.xml (original)
+++ activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/WEB-INF/web.xml Mon Feb 28 17:13:13
2011
@@ -89,5 +89,24 @@
     <location>/WEB-INF/scalate/errors/500.scaml</location>
   </error-page>
 
-
+  <!-- In case you want to use container based security..
+  <security-constraint>
+    <web-resource-collection>
+      <web-resource-name>everything</web-resource-name>
+      <url-pattern>/*</url-pattern>
+    </web-resource-collection>
+    <auth-constraint>
+      <role-name>admin</role-name>
+    </auth-constraint>
+  </security-constraint>
+  <login-config>
+    <auth-method>BASIC</auth-method>
+    <realm-name>Apollo</realm-name>
+  </login-config>
+  <security-role>
+    <description>Who can login</description>
+    <role-name>admin</role-name>
+  </security-role>
+  -->
+  
 </web-app>



Mime
View raw message