tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: JDBCRealm problems 3.2
Date Mon, 04 Dec 2000 00:27:30 GMT
Chris Fox wrote:

> I am uable to get a successfull login using basic authentication for
> jdbc realm.
> this was working for me in the tomcat 3.2 beta 6 for me but not in the
> final release.
>
> the output log for the ContextManager says the authentication is okay
> but
> the browser shows authorization failed
>
> the only way to get it to work is to add the user to the
> tomcat-users.xml file
> and then it works fine (even if the password int the tomcat-users.xml
> file is bogus)
>
> this is an unaccepatble solution as I want to add authentication for
> many users
> and not have to restart tomcat every time
>
> I am seeing this problem on two different boxes
> one running linux and one running solaris
>
> I am stuck as how to fix this problem.
>
> has anyone seen this or got it working?
>

DId you comment out (or remove) the entry for the SimpleRealm interceptor when
you uncommented the entry for the JDBCRealm?  I ask this because SimpleRealm is
the only code in all of Tomcat that cares about the tomcat-users.xml file.

>
> Chris

Craig McClanahan



Mime
View raw message