Re: JDBC Realm problems

2003-09-24 Thread Laurent Perez
in case no one noticed and it matters, web.xml has following typo in it, where resource is spelled ressource: web-ressource-collection web-ressource-nametest/web-ressource-name I wish I had seen that earlier x_x. Thanks alot Paul, it's now showing up auth window. Unfortunately I have

Re: JDBC Realm problems

2003-09-24 Thread Adam Hardy
Don't you get: Digester.error(): org.xml.sax.SAXParseException: Element security-constraint requires additional elements. On 09/24/2003 09:48 AM Laurent Perez wrote: in case no one noticed and it matters, web.xml has following typo in it, where resource is spelled ressource:

Re: JDBC Realm problems

2003-09-24 Thread Laurent Perez
Don't you get: Digester.error(): org.xml.sax.SAXParseException: Element security-constraint requires additional elements. No I don't. Should I ? laurent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: JDBC Realm problems

2003-09-24 Thread Adam Hardy
Yes! I was unaware that you could disable xml parsing exceptions. But it seems you have. :( Perhaps it depends on the xml parser you are running. Mine is crimson (SAX?). Adam On 09/24/2003 11:29 AM Laurent Perez wrote: Don't you get: Digester.error(): org.xml.sax.SAXParseException: Element

Re: JDBC Realm problems

2003-09-24 Thread Laurent Perez
Yes! I was unaware that you could disable xml parsing exceptions. But it seems you have. :( Sorry but I don't understand the link between my xml parser and Postgres' MD5 encoding. Do you have your Tomcat setup authenticating users against a Postgresql JDBCRealm using MD5 digest ? laurent

Re: JDBC Realm problems

2003-09-24 Thread Adam Hardy
Oh I'm very sorry, perhaps I confused your post with somebody else's. The problem I am referring to is the issue with the web-resource-name being spelt wrong. Adam On 09/24/2003 12:08 PM Laurent Perez wrote: Yes! I was unaware that you could disable xml parsing exceptions. But it seems you

RE: JDBC Realm problems

2003-09-24 Thread Madere, Colin
] Sent: Tuesday, September 23, 2003 12:39 PM Subject: Re: JDBC Realm problems Your config looks OK. Are you getting any errors logged when you try to log on? On 09/23/2003 04:43 PM Laurent Perez wrote: Hello I am trying to protect a webapp I wrote using a JDBCRealm, but it doesn't seem

Re: JDBC Realm problems

2003-09-23 Thread Adam Hardy
Your config looks OK. Are you getting any errors logged when you try to log on? On 09/23/2003 04:43 PM Laurent Perez wrote: Hello I am trying to protect a webapp I wrote using a JDBCRealm, but it doesn't seem to work as expected. I am using Tomcat 4.1.27, and Postgresql 7.3.2, with latest

Re: JDBC Realm problems

2003-09-23 Thread Paul
: Tuesday, September 23, 2003 12:39 PM Subject: Re: JDBC Realm problems Your config looks OK. Are you getting any errors logged when you try to log on? On 09/23/2003 04:43 PM Laurent Perez wrote: Hello I am trying to protect a webapp I wrote using a JDBCRealm, but it doesn't seem

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
Half answering my own question I found that if I changed permissions to the relevant user I was able to get a bit further. At least the logon is now seen but it fails with this message: Invalid authorization specification: Access denied for user: 'ken;[EMAIL PROTECTED]' (Using password: NO) I

Re: JDBC realm problems

2002-04-22 Thread Rick Fincher
Hi Ken, Have you tried setting the debug level to 99 in the realm tag in server.xml? You may have already done this, but it will add a lot more info to the log about the process of getting into the realm. Rick Hi, I've spent many hours last week and a few more today trying to get JDBC

RE: JDBC realm problems

2002-04-22 Thread Tim Cronin
#Privilege_system I had to remove the default user name= from the table to get access. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 1:11 PM To: Tomcat Users List Subject: RE: JDBC realm problems Half answering my own question I found that if I

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
the parser error. So it seems to me I'm sitting on the horns of a dilemma from which I hope someone can remove me. Thanks! -Original Message- From: Rick Fincher [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 2:14 PM To: Tomcat Users List Subject: Re: JDBC realm problems Hi Ken

RE: JDBC realm problems

2002-04-22 Thread Tim Cronin
what if you remove the username and password from the URL and set them via the connectionName, connectionPassword attribs? -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 1:23 PM To: Tomcat Users List Subject: RE: JDBC realm problems Yes I

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
Thanks Tim. Jake's suggestion of changing the to amp; did the trick I'm happy to say. -Original Message- From: Tim Cronin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 2:40 PM To: 'Tomcat Users List' Subject: RE: JDBC realm problems what if you remove the username

Re: JDBC realm problems

2002-04-22 Thread Rick Fincher
Hi Ken, The spec allows the values: connectionName=username connectionPassword=password in the realm tag in server.xml. You might try that instead of putting the username and password in the connection URL. Tomcat then builds the string for the URL with the connection parameters in it.

RE: JDBC realm problems

2002-04-22 Thread Januski, Ken
Subject: Re: JDBC realm problems Hi Ken, The spec allows the values: connectionName=username connectionPassword=password in the realm tag in server.xml. You might try that instead of putting the username and password in the connection URL. Tomcat then builds the string for the URL

RE: JDBC Realm Problems; Probably server.xml related...

2001-03-12 Thread Ignacio J. Ortega
It seems a message from PostGres JDBC Driver, saying that it needs user and password to connect to DB.. add the following to your requestinterceptor line ( using the appropiate name pass for you DB installation ) connectionName="name" connectionPassword="password" You will end with something

RE: JDBC Realm Problems; Probably server.xml related...

2001-03-12 Thread Ignacio J. Ortega
looks like jdbcrealm is not tip-top finished - it's malfunctioning all the time. Thanks for you help... but JDBCRealm works for a bunch of other people ( me too ).. Your help will be highly appreciatted to help out in "tip-top" finish it.. TIA Saludos , Ignacio J. Ortega

RE: JDBC Realm Problems; Probably server.xml related...

2001-03-12 Thread Ignacio J. Ortega
... and does not work for bunch of others... vVolf -Oryginalna wiadomooe- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wysano: 12 marca 2001 09:53 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm Problems; Probably server.xml related... looks like jdbcrealm