On 10/01/2014 22:46, Jeffrey Janner wrote:
>> -----Original Message-----
>> From: Mark Thomas [mailto:ma...@apache.org]
>> Sent: Thursday, January 09, 2014 4:08 PM
>> To: Tomcat Users List
>> Subject: Re: Question on SSL and Pragma in 7.x
>>
>> On 09/01/2014 18:22, Jeffrey Janner wrote:
>>> I'd like to verify something I think I'm seeing in Tomcat 7.x.
>>
>> <snip/>
>>
>>> Am I interpreting all that correctly?
>>
>> See http://markmail.org/message/2kkq4yxgacgbrwht
>>
>>> If I wanted to add a section that did use Tomcat Auth, would I
>>> need/want to add the appropriate Authenticator valve back to the
>> context.xml?
>>
>> Only if you need to change the configuration of the Authenticator.
>> Tomcat adds the correct Authenticator automatically based on the <auth-
>> method> defined in web.xml
>>
>> Mark
>>
> 
> Thanks Mark.  I will keep that in mind, but it looks like the defaults will 
> do it from now on.
> However, any idea about the last section of my post?
> Specifically, why the SSlAuthenticator was kicking in when the auth method 
> was defined as Basic?  (note, no SSL auth method was configured in the 
> web.xml, but the SSLAuthenticator was configured in the context.xml.)  Just 
> curious about that.

If you explicitly add an Authenticator via context.xml then it will be
treated like any other valve and be invoked for every request.

Mark


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

Reply via email to