I have that in the server.xml(see below) still no luck. 
   <security-constraint>
      <display-name>Security Constraint</display-name>
      <web-resource-collection>
           <web-resource-name>secure</web-resource-name>
         <web-resource-name>Restricted Access - Get Only</web-resource-name>
         <!-- Define the context-relative URL(s) to be protected -->
         <url-pattern>/*</url-pattern>
      </web-resource-collection>
      <auth-constraint>
         <!-- Anyone with one of the listed roles may access this area -->
         <role-name>role1</role-name>
      </auth-constraint>
    </security-constraint>

    <!-- Default login configuration uses form-based authentication -->
   <login-config>
      <auth-method>BASIC</auth-method> 
      <realm-name>Management Reports</realm-name>
                        <form-login-config>
                           <form-login-page>/index.jsp</form-login-page>
                           <form-error-page>/errorpage.jsp</form-error-page>
                        </form-login-config>                                    
                         
    </login-config>

-----Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Friday, February 17, 2012 10:50 AM
To: Tomcat Users List
Subject: Re: Basic Authentication Valve not hitting on Tomcat7.0.20

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael,

On 2/16/12 2:28 PM, Michela, Andrew J (LABOR) wrote:
> I have that in the server.xml still no luck

You have *what* in server.xml, and what does "no luck" mean?

Did you reply to the wrong thread?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8+d0EACgkQ9CaO5/Lv0PDNhQCbB2V+V4WWXCjphhSuz2BS5gUf
X70An3hmcCLm+8+NHQ7USceI+9eAL6kf
=NIc1
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


Reply via email to