You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2011/02/28 18:13:13 UTC
svn commit: r1075431 -
/activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/WEB-INF/web.xml
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>