Hi,

I'm using Tomcat with Slide as webapp. In the CATALINA_HOME/webapps/webdav/WEB-INF 
directory, there is a web.xml file.
I uncommented these lines, as it was said in Tomcat's documentation :

 <!-- ================ Security Constraints for Testing =============== -->

  <security-constraint>
    <web-resource-collection>
      <web-resource-name>The Entire Web Application</web-resource-name>
      <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>tomcat</role-name>
    </auth-constraint>
  </security-constraint>

  <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Tomcat Supported Realm</realm-name>
  </login-config>

  <security-role>
    <description>
      An example role defined in "conf/tomcat-users.xml"
    </description>
    <role-name>tomcat</role-name>
  </security-role>
</web-app>

But where can I find the complete documentation abou it ?
What describes the tag security-role ?
What would be a correct configuration, not just for testing ?


Thanx in advance

Reply via email to