Did you delete or comment the SimpleRealm Interceptor?
If not this can be the problem..
Saludos ,
Ignacio J. Ortega
> -----Mensaje original-----
> De: William Kaufman [mailto:[EMAIL PROTECTED]]
> Enviado el: martes 20 de marzo de 2001 19:46
> Para: '[EMAIL PROTECTED]'
> Asunto: RE: Using JDBCRealms
>
>
> > Do you have any logs?
>
> Nothing useful. Is there some debugging flag(s) I can turn
> on for this?
>
> > Which URL are trying?
>
> On my local machine: http://localhost:8089/help/AboutVqt.htm
> . The password
> dialog does come up, but it only tests the tomcat-users.xml
> file, not the
> JDBCRealm database table.
>
> > Which is your context directoy struct ?
>
> ...\tomcat\webapps\ROOT\
> WEB-INF\
> web.xml
> help\
> AboutVqt.htm
>
> plus the usual Tomcat demo stuff.
> -- Bill K.
>
>
> > -----Original Message-----
> > From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 20, 2001 3:11 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Using JDBCRealms
> >
> >
> > Do you have any logs?
> >
> > Which URL are trying?
> >
> > Which is your context directoy struct ?
> >
> > TIA
> >
> > Saludos ,
> > Ignacio J. Ortega
> >
> >
> > > -----Mensaje original-----
> > > De: William Kaufman [mailto:[EMAIL PROTECTED]]
> > > Enviado el: martes 20 de marzo de 2001 1:11
> > > Para: '[EMAIL PROTECTED]'
> > > Asunto: Using JDBCRealms
> > >
> > >
> > > (I posted this before, but I haven't seen any responses.
> > > I've added some
> > > more information.)
> > >
> > > (Tomcat version 3.2.1.)
> > >
> > > I'm trying to use JDBCRealm to manage access to some static
> > files. Is
> > > there any documentation for that?
> > >
> > > I've successfully configured authorization in web.xml:
> > >
> > > <security-constraint>
> > > <web-resource-collection>
> > > <web-resource-name>Protected Area</web-resource-name>
> > > <url-pattern>/help/*</url-pattern>
> > > <user-data-constraint>
> > > <transport-guarantee>NONE</transport-guarantee>
> > > </user-data-constraint>
> > > <http-method>GET</http-method>
> > > <http-method>PUT</http-method>
> > > <http-method>POST</http-method>
> > > <http-method>DELETE</http-method>
> > > </web-resource-collection>
> > > <auth-constraint>
> > > <role-name>ViquityUser</role-name>
> > > </auth-constraint>
> > > </security-constraint>
> > > <login-config>
> > > <auth-method>BASIC</auth-method>
> > > <realm-name>Viquity</realm-name>
> > > </login-config>
> > >
> > > But I can't seem to get JDBCRealm (or my own subclass of
> > that) to get
> > > called. I've added,
> > >
> > > <RequestInterceptor
> > > className="org.apache.tomcat.request.JDBCRealm"
> > > debug="99"
> > > driverName="oracle.jdbc.driver.OracleDriver"
> > > connectionURL="jdbc:oracle:thin:@localhost:1521:adb"
> > > connectionName="metax"
> > > connectionPassword="tiger"
> > > userTable="contacts"
> > > userNameCol="username"
> > > userCredCol="password"
> > > userRoleTable="user_roles"
> > > roleNameCol="role" />
> > >
> > > to my conf\server.xml, and commented out the SimpleRealm
> > interceptor.
> > > JDBCRealm is on my classpath--"javap" can print it. And that JDBC
> > > connection works fine outside of Tomcat, so it's not a JDBC issue.
> > >
> > > Near as I can figure, Tomcat isn't even loading the
> class. Is there
> > > some debugging I can turn on in Tomcat to see what's going wrong?
> > >
> > >
> > -- Bill K.
> > >
> >
>