i just set-up a security constraint for my context using the simpleRealm, i've tested 
it using this URL http://myserver:8080/mycontext/ (standalone server)works fine while 
using URL http://myserver/mycontext/ (tomcat-apache) did not work. what else do i need 
to configure?

here's the configuration
...
 <security-constraint>
      <web-resource-collection>
       <web-resource-name>Protected Area</web-resource-name>
          <url-pattern>/*</url-pattern>
          <url-pattern>/web/*</url-pattern>
   <http-method>DELETE</http-method>
          <http-method>GET</http-method>
          <http-method>POST</http-method>
   <http-method>PUT</http-method>
      </web-resource-collection>
      <auth-constraint>
         <role-name>owner</role-name>
      </auth-constraint>
    </security-constraint>

    <login-config>
      <auth-method>BASIC</auth-method>
      <realm-name>realmname</realm-name>
    </login-config>
...

thank you very much

alex

�b��j(�r��߭�j(r��u�޲ƭ��i����\����

Reply via email to