tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p gelont <p_gel...@yahoo.com>
Subject Basic Auth Problem in Tomcat
Date Tue, 17 Apr 2001 11:33:08 GMT
Hi

Is there any difference between NT and Linux for
the Basic Auth-handling?

I use Tomcat v3.2.1.
My Webapp in NT works fine, the same Webapp under
Linux
does not care about my restrictions.

(web.xml):
<security-constraint>
  <web-resource-collection>
         <web-resource-name>Protected
Area</web-resource-name>
	 <!-- Define the context-relative URL(s) to be
protected -->
         <url-pattern>/restricted/*</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>tomcat</role-name>
	 <role-name>role1</role-name>
      </auth-constraint>
    </security-constraint>

    <login-config>
      <auth-method>BASIC</auth-method>
      <realm-name>Example Basic Authentication
Area</realm-name>
    </login-config>


Did I forget something? I would really appreciate to
recieve an answer.

Thanks
peter 

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Mime
View raw message