Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Michela, Andrew J (LABOR)
> I am sorry this code was in the web.xml NOT server.xml >> From: Michela, Andrew J (LABOR) [mailto:andrew.mich...@labor.ny.gov] >> Subject: RE: Basic Authentication Valve not hitting on Tomcat7.0.20 > >> I have that in the server.xml(see below) still no luck. >&g

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Pid
iginal Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Friday, February 17, 2012 11:07 AM > To: Tomcat Users List > Subject: RE: Basic Authentication Valve not hitting on Tomcat7.0.20 > >> From: Michela, Andrew J (LABOR) [mailto:andr

RE: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Michela, Andrew J (LABOR)
I am sorry this code was in the web.xml NOT server.xml -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, February 17, 2012 11:07 AM To: Tomcat Users List Subject: RE: Basic Authentication Valve not hitting on Tomcat7.0.20 > From: Mich

RE: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Caldarale, Charles R
> From: Michela, Andrew J (LABOR) [mailto:andrew.mich...@labor.ny.gov] > Subject: RE: Basic Authentication Valve not hitting on Tomcat7.0.20 > I have that in the server.xml(see below) still no luck. > ??? Please read the servlet spec and the Tomcat doc, and show us where the

RE: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Michela, Andrew J (LABOR)
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

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Christopher Schultz
-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- Versi

RE: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Michela, Andrew J (LABOR)
List Subject: Re: Basic Authentication Valve not hitting on Tomcat7.0.20 2012/2/16 Christopher Schultz : > > On 2/16/12 8:26 AM, Sachin Mehrotra wrote: >> BASIC My App >> Realm > > I believe if you set to BASIC, Tomcat will add its own > Valve to the valve chain. If

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Konstantin Kolinko
2012/2/16 Christopher Schultz : > > On 2/16/12 8:26 AM, Sachin Mehrotra wrote: >> BASIC My App >> Realm > > I believe if you set to BASIC, Tomcat will add its own > Valve to the valve chain. If you don't set the here but > still add your to context.xml, does that improve things? > IIRC Tomcat

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sachin, On 2/16/12 8:26 AM, Sachin Mehrotra wrote: > BASIC My App > Realm I believe if you set to BASIC, Tomcat will add its own Valve to the valve chain. If you don't set the here but still add your to context.xml, does that improve things? -

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Pid
On 16/02/2012 13:26, Sachin Mehrotra wrote: > Do your logs indicate your custom authenticator is active or does it > throw an error? > ANS-->>> tomcat logs and other logs doesn't show any exception or even > traces added in the valve class. In Tomcat 6 we are able to see logs > added in our impleme

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Sachin Mehrotra
Do your logs indicate your custom authenticator is active or does it throw an error? ANS-->>> tomcat logs and other logs doesn't show any exception or even traces added in the valve class. In Tomcat 6 we are able to see logs added in our implemementation of AuthenticatorBase class. How had you co

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Pid
On 16/02/2012 12:30, Sachin Mehrotra wrote: > Hi > > After upgrade from Tomcat 6 to Tomcat 7.0.20, our Basic Authentication > valve is not hitting. It seems it is overlooking our implementation of > Basic Authentication. > Below is the implementation: > We are having Realm that is doing authentica

Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Sachin Mehrotra
Hi After upgrade from Tomcat 6 to Tomcat 7.0.20, our Basic Authentication valve is not hitting. It seems it is overlooking our implementation of Basic Authentication. Below is the implementation: We are having Realm that is doing authentication using our authentication server. Before that we are h