> From: Mark Leone [mailto:[EMAIL PROTECTED] 
> Subject: Re: Manager app authentication not working with JDBCRealm
> 
> But why does my custom app display "JDBCRealm" in the credentials 
> prompt?

Because the 401.jsp file in the manager webapp overrides the default
dialog box; since your custom webapp has no such error page, the
<realm-name> is used.  Note that <realm-name> is purely cosmetic; you
can put anything you want there.

> Either this is not the right way to make an app work with JDBCRealm 
> (though it works with my custom app), or there's something wrong in
> this version of Tomcat.

I don't think there's anything wrong with Tomcat 6.0 in this regard,
since it's working fine for us with a <Realm> other than
UserDatabaseRealm.

1) Do you perhaps have a conf/Catalina/[host]/manager.xml file with its
own <Realm>?

2) Have you checked the traffic between Tomcat and the DB server when
you attempt to log in to the manager webapp?

3) Have you emptied your browser's cache, including saved credentials?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to