See below

On Wed, Feb 8, 2012 at 2:59 PM, Mark Thomas <ma...@apache.org> wrote:
> On 08/02/2012 19:52, Jonathan Rosenberg wrote:
>> Mark,
>>
>> Thanks for the reply.
>>
>>>> I don't understand why Tomcat is involved in the authentication  (the
>>>> exception happens in org.apache.catalina.realm.JDBCRealm getPassword)
>>>> at this point.  As far as I know, the only authentication going on
>>>> should be the CAS authentication used by my app.
>>
>>> This means you are using Tomcat's BASIC authentication.
>>> It appears you do not have CAS configured correctly. Check your web.xml.
>>
>> I'm (obviously) a novice here.  Which web.xml should I be checking?
>>
>> - The app's web.xml? (There is mention of anything security-related there).
>>
>> - The 'root' web.xml?
>
> Ah. The joy's of debugging Servlet 3.0 applications. Web fragments were
> such a good idea. Not.
>
> In CATALINA_BASE/conf/context.xml, add the following to the <Context
> .../> element:
>
> logEffectiveWebXml="true"
>
> That will cause Tomcat to log the result of merging the default web.xml,
> host level web.xml, app level web.xml, web fragments and annotations as
> an 'effective' web.xml file. Then look at your app for the CAS config
> and and <login-config .../> sections.

I modified the Context element in context.xml as follows

     <Context logEffectiveWebXml="true">

>From reading the docs, I expected to see something in catalina.out.
Nothing new there.  Do I need to set the log level somewhere?

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/

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

Reply via email to