RE: [Rabbit-proxy-users] SQL authentication
Brought to you by:
ernimril
From: Richard M. <ri...@sy...> - 2005-05-10 21:24:33
|
Hey guys, have been playing with this SQLProxyAuth. I am using the RabbIT2.0.37b.jar below and J2SDK 1.4.2... I keep getting this... java.sql.SQLException: The url cannot be null My rabbit.conf file includes: [rabbit.filter.SQLProxyAuth] driver=org.gjt.mm.mysql.Driver url=jdbc:mysql://localhost/dbname user=username password=password select=SELECT password FROM users WHERE username = '?' [Filters] httpinfilters=rabbit.filter.HTTPBaseFilter,rabbit.filter.DontFilterFilter,ra bbit.proxy.SQLProxyAuth I know next to nothing about java.. So bare with me, please... ;) Rich > Robert Olofsson wrote: > > > http://www.khelekore.org/rabbit/RabbIT2.0.37b.jar > > > > I still havent got any database installed at home, so this filter > > will probably break in a few places. Fix it or bug me (or both)... > > Ok, it was broken, I had forgotten one line, doh! > Actually testing with a db made that one obvious quickly.. > > There is a new release with the same name out and also an updated > http://www.khelekore.org/rabbit/RabbIT2.0.38-pre1.jar > > Have fun > /robo > > |