RE: JDBC Realm by-passing login page using a link

2005-03-10 Thread Anderson, M. Paul
It is my understanding that the JDBC realm will execute prior to any filters or other servlets, so I wouldn't think this would be possible unless you perform your own authentication - possibly in a filter - to do just what you're looking for. -Original Message- From: Fredrik Liden

Re: JDBC Realm

2003-11-20 Thread Jon Wingfield
Subject Re: JDBC Realm Get rid of the single quotes. userNameCol=USERNAME -Tim Justin Wesbrooks wrote: I have a JDBCRealm set up in Tomcat 4.1.29. The realm config is as follows.. Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver

Re: JDBC Realm

2003-11-20 Thread Justin Wesbrooks
cc Subject Please respond to Re: JDBC Realm Tomcat

Re: JDBC Realm

2003-11-20 Thread Justin Wesbrooks
Subject Please respond to Re: JDBC Realm Tomcat Users List

Re: JDBC Realm

2003-11-20 Thread Jon Anderson
On Thursday 20 November 2003 8:51 am, Justin Wesbrooks wrote: Thanks for the response. When I describe the user table, I get the following output... mysql describe users; Isn't users the default table in mysql where it stores MySQL logins? Or was that your intention. If not, you might

RE: JDBC Realm

2003-11-20 Thread Andreas Mohrig
' in 'where clause' which should come from the attempt to get the roles for this user. Greetings Andreas Mohrig -Original Message- From: Justin Wesbrooks [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 3:59 PM To: Tomcat Users List Subject: Re: JDBC Realm By the way, I know my

RE: JDBC Realm

2003-11-20 Thread Justin Wesbrooks
Subject Please respond to RE: JDBC Realm Tomcat Users List

RE: JDBC Realm

2003-11-20 Thread Justin Wesbrooks
cc Subject Please respond to RE: JDBC Realm Tomcat Users

Re: JDBC Realm

2003-11-20 Thread Christopher Schultz
Jon, Isn't users the default table in mysql where it stores MySQL logins? Or was that your intention. If not, you might have a table name conflict. Naw, that's in a different tablespace. His stuff looks correct. -chris - To

Re: JDBC Realm

2003-11-19 Thread Tim Funk
Get rid of the single quotes. userNameCol=USERNAME -Tim Justin Wesbrooks wrote: I have a JDBCRealm set up in Tomcat 4.1.29. The realm config is as follows.. Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver

Re: JDBC Realm

2003-11-19 Thread Justin Wesbrooks
PROTECTED] 11/19/2003 05:37 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: JDBC Realm Get rid of the single quotes. userNameCol=USERNAME -Tim Justin Wesbrooks wrote: I have a JDBCRealm set up in Tomcat 4.1.29

Re: JDBC Realm hangs

2003-11-13 Thread Navanee
[EMAIL PROTECTED] wrote: Hello, I am running tomcat 4.1.27 on windows 2000 server with sql server 7 in production. Using the JDBC Realm to manage the login. The login works just fine but then after some time it hangs up. The login page is served so I know tomcat is still running but once

Re: JDBC Realm

2003-10-28 Thread Christopher Schultz
David, I also have the user passwords encrypted using MD5 and this works fine. However we have a need to have all clear text passwords encrypted in configuration files. I need this realm to work with the connectionPassword value foobar encrypted. Does anyone know if this has been done and is there

Re: JDBC Realm

2003-10-28 Thread Andoni
Can you please explain this a little better. You have in your database a list of all your user's passwords encrypted using MD5. Do you also have a clear text copy of them? Then you want to encrypt this clear text copy for use in your configuration files? If you don't already have a cleartext

RE: JDBC Realm

2003-10-28 Thread Gardner, David [IT]
-datasource-examples-how to.html -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Wednesday, 29 October 2003 1:28 AM To: Tomcat Users List Subject: Re: JDBC Realm Can you please explain this a little better. You have in your database a list of all your user's passwords encrypted

Re: JDBC Realm not working with - Please help

2003-10-09 Thread rudidoku
Hi again, I'm using version 4.1.27 of tomcat, and my login page is taking forever to load. I'm not actually getting any error messages. Thanks again, Rudi Hi, I'm trying to setup my web app to use JDBC Realm. I am using SQL Server 2000. Here is the script to create tables: CREATE

Re: JDBC Realm not working with - Please help

2003-10-09 Thread rudidoku
I have also placed the following files in D:\Tomcat 4.1\common\lib: msutil.jar, mssqlserver.jar, and msbase.jar, and restarted tomat, but still no joy. Hi again, I'm using version 4.1.27 of tomcat, and my login page is taking forever to load. I'm not actually getting any error messages.

Re: JDBC Realm not working with - Please help

2003-10-09 Thread Lawence
Suggestions: 1. Check the log files for possible error messages $CATALINA_HOME/log 2. Write a java application to try the connection, see what you would get [EMAIL PROTECTED] wrote: Hi again, I'm using version 4.1.27 of tomcat, and my login page is taking forever to load. I'm not actually

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
or put a index.html in the /test/ dir and try /test/index.html and see if you then get the auth dialog. Then you'll know if that's the problem. -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 4:06 PM To: Tomcat Users List Subject: Re: JDBC Realm

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 question

2003-07-11 Thread Farrell, Patrick
Try this .. public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String username = req.getUserPrincipal().getName(); } Patrick Farrell -Original Message- From: Jon Felmey [mailto:[EMAIL PROTECTED] Sent:

RE: JDBC Realm question

2003-07-11 Thread Jon Felmey
That did it. Thank you very much. From: Farrell, Patrick [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: JDBC Realm question Date: Fri, 11 Jul 2003 15:38:04 -0400 Try this .. public void doGet(HttpServletRequest req

RE: JDBC Realm Warning Message?

2003-07-09 Thread Collins, Jim
You don't have to specify a role. -Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 19:18 To: Tomcat Users List Subject: Re: JDBC Realm Warning Message? Thanks for reply Mike. After thinkin about this message some more; I think that the reason I am

RE: JDBC Realm Warning Message?

2003-07-08 Thread Mike Curwen
From the DTD for web.xml: !-- The auth-constraint element indicates the user roles that should be permitted access to this resource collection. The role-name used here must either correspond to the role-name of one of the security-role elements defined for this web application, or be the

Re: JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
Thanks for reply Mike. After thinkin about this message some more; I think that the reason I am getting this message is because I still have not successfully created a JDBC Realm. I'm thinking that the Roles are defined in the database that I'm not corectly reading yet. --

Re: JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
Rick Roberts wrote: Thanks for reply Mike. After thinkin about this message some more; I think that the reason I am getting this message is because I still have not successfully created a JDBC Realm. I'm thinking that the Roles are defined in the database that I'm not corectly reading yet.

RE: JDBC Realm Warning Message?

2003-07-08 Thread Mike Curwen
Reply inlined -Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 1:51 PM To: Tomcat Users List Subject: Re: JDBC Realm Warning Message? Rick Roberts wrote: Thanks for reply Mike. After thinkin about this message some more

Re: JDBC Realm Warning Message?

2003-07-08 Thread sander-martijn
the tomcat user/role gets configured in a flat file called tomcat-users.xml which lives in your tomcat directory. the tomcat user loads the file as a JNDI resource by having the following directive in the server context of server.xml: !-- Global JNDI resources -- GlobalNamingResources !--

Re: JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
OK. The error message is gone now! Thanks. It took me a few tries to figure out where the security-role needed to go but finally found it by trial and error. STILL GETTING THIS ERROR THO: No Realm has been configured to authenticate against If I comment out the UserDatabaseRealm, then I get the

Re: JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
Oh! One other question. Does the tomcat-users.xml file have anything to do with setting up a JDBC Realm? -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * ***

RE: JDBC Realm Warning Message?

2003-07-08 Thread Mike Curwen
quickly: no. that's the memoryrealm -Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:04 PM To: Tomcat Users List Subject: Re: JDBC Realm Warning Message? Oh! One other question. Does the tomcat-users.xml file have anything to do

RE: JDBC Realm Warning Message?

2003-07-08 Thread Mike Curwen
-Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:59 PM To: Tomcat Users List Subject: Re: JDBC Realm Warning Message? OK. The error message is gone now! Thanks. It took me a few tries to figure out where the security-role needed

Re: JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
Mike, Thanks a bunch!! I feel like I'm well on my way to figuring this out now. Where can I find the DTDs and the servlet API? Sorry, can't say. It looks about right, but if I'm doing container-managed, I usually just do Basic AUTH. (which throws the OS-based dialog box). I can't stand

RE: JDBC Realm Warning Message?

2003-07-08 Thread Mike Curwen
-Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:22 PM To: Tomcat Users List Subject: Re: JDBC Realm Warning Message? Mike, Thanks a bunch!! I feel like I'm well on my way to figuring this out now. Where can I find

Re: JDBC Realm MS SQL 2000

2003-02-25 Thread Xavier Prélat
Søren Blidorf wrote: Hi. I am trying to create a realm login. When I use a mysql, MS Access or Oracle DB it works just fine. But when I try with MS SQL 2000 server it just does not work. Can anybody tell me why? Søren Blidorf Nolas Consulting Gustav Wiedsvej 9 DK-2860 Søborg Telefon: +45

Re: JDBC Realm MS SQL 2000

2003-02-25 Thread Ian Hunter
meddelelse- Fra: Xavier Prélat [mailto:[EMAIL PROTECTED] Sendt: 25. februar 2003 13:44 Til: Tomcat Users List Emne: Re: JDBC Realm MS SQL 2000 Søren Blidorf wrote: Hi. I am trying to create a realm login. When I use a mysql, MS Access or Oracle DB it works just fine. But when I try with MS SQL

RE: JDBC Realm MS SQL 2000

2003-02-25 Thread George Sexton
Here is a working example: Realm name=IISRealm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=com.microsoft.jdbc.sqlserver.SQLServerDriver connectionURL=jdbc:microsoft:sqlserver://xxx.mhsoftware.com:1433;DatabaseNa me=MyData;ProgramName=My Web Application;SelectMethod=cursor

RE: JDBC Realm problem

2003-02-18 Thread Geoff Peters
Gregg - Are Tomcat and MySQL on the same box? I had some previous issues with not being able to reach the box, also had to do a lot of friggin with the permissions in MySQL. I am assuming you have granted permission to 'uname' @ 'localhost' Here is a copy of my server.xml as is right now and

Re: JDBC Realm problem

2003-02-18 Thread Sean Dockery
Hello, Barley. From the HOW-TO from 4.1's documentation: Place a copy of the JDBC driver you will be using inside the $CATALINA_HOME/server/lib directory (if you do not need it visible to web applications) or $CATALINA_HOME/common/lib (if it will be used both by Tomcat 4 and by your apps). Note

RE: JDBC Realm Authentication Problem

2003-02-07 Thread Geoff Peters
Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:34 PM To: Tomcat Users List Subject: Re: JDBC Realm Authentication Problem Where I wrote did you remove, I meant to write did you omit. Basically I want to know exactly what you edited out

Re: JDBC Realm Authentication Problem

2003-02-07 Thread Sean Dockery
Yes, that is correct. To have a Realm apply only to a context, it must declared inside the context tags. So... Context ... / becomes Context ... Realm ... / /Context -- Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants

Re: JDBC Realm Authentication Problem

2003-02-06 Thread Sean Dockery
Um. I don't see a context-level realm in there. There is a host-level realm, however. :-) Did you remove anything at all (such as other Realms) from the server.xml file that you presented? At 13:29 2003-02-06 -0400, you wrote: A small problem here, can't seem to figure out why. In the

Re: JDBC Realm Authentication Problem

2003-02-06 Thread Sean Dockery
Where I wrote did you remove, I meant to write did you omit. Basically I want to know exactly what you edited out of the server.xml file that you put in your message because you didn't think it was relevant. Basically, I suspect that if you left the memory realm at the engine level that

Re: JDBC Realm example

2002-10-23 Thread Rick Fincher
You should also be able to use connectionUser=dbuser and connectionPassword=dbpass in the realm tag instead of putting it in the URL. Rick - Original Message - From: John Murtari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 2:20 PM Subject: JDBC Realm example

Re: jdbc realm fails to authenticate sometimes

2002-10-04 Thread John M . Hollingsworth
I have found the version of the MySQL connector to be the problem. Versions earlier than 2.0.9 gave me the same problem you're experiencing. The latest version is 2.0.14, I think. John From: Paul Phillips [EMAIL PROTECTED] Date: 2002/10/02 Wed PM 07:25:40 EDT To: [EMAIL PROTECTED]

Re: JDBC Realm - changing password

2002-09-03 Thread David Cassidy
to quote ... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html * Once a user has been authenticated, the user (and his or her associated roles) are cached within Tomcat for the duration of the user's login. (For FORM-based authentication, that means until the

Re: JDBC Realm - changing password

2002-09-03 Thread Rosdi bin Kasim
Actually you will need to physically turn off your server, un-plug if from the wall, wait 5 minutes and then restart the server again... If that doesnt work.., try to turn off and on your proxy as well... because your proxy might be caching it Hahahaaa.. err.. sorry I am a bit

Re: JDBC Realm - changing password

2002-09-03 Thread Markus Znglein
PROTECTED]] Отправлено: Вт 03.09.2002 18:08 Кому: Tomcat Users List Копия: Тема: Re: JDBC Realm - changing password to quote ... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html * Once a user has been authenticated, the user (and his or her associated roles

RE: JDBC Realm - changing password

2002-09-03 Thread Alex Kachanov
Message- From: Markus Zanglein [mailto:[EMAIL PROTECTED]] Sent: 3 сентября 2002 г. 21:44 To: Tomcat Users List Subject: Re: JDBC Realm - changing password are you shure, that your session is really got invalidated ? If you track sessions via cookies, make sure that your

RE: JDBC Realm - changing password

2002-09-03 Thread Alex Kachanov
I'm sorry What is tomcat 4.1? The latest build as I know is 4.0.4 with best wishes Alexander Kachanov -Original Message- From: David Cassidy [mailto:[EMAIL PROTECTED]] Sent: 3 „ƒ„u„~„„„‘„q„‚„‘ 2002 „s. 18:09 To: Tomcat Users List Subject: Re: JDBC Realm - changing password

RE: JDBC Realm Error --Cant access database

2002-08-12 Thread Andrew
Try removing your username and password info from your connection string and using the 'connectionName' and 'connectionPassword' attributes http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html - Andrew -Original Message- From: khozaima shakir [mailto:[EMAIL PROTECTED]]

RE: JDBC Realm Error --Cant access database

2002-08-12 Thread khozaima shakir
Try removing your username and password info from your connection string and using the 'connectionName' and 'connectionPassword' _ Hi, I did that , this time I got following error, sorry this question is off topic ! but can you

RE: JDBC Realm Error --Cant access database

2002-08-12 Thread Andrew
]] Sent: Monday, August 12, 2002 6:29 PM To: [EMAIL PROTECTED] Subject: RE: JDBC Realm Error --Cant access database Try removing your username and password info from your connection string and using the 'connectionName' and 'connectionPassword

RE: JDBC Realm redirect problem

2002-08-02 Thread Tathagat (London)
My guess would be that the roles being returned are not the correct ones. -Original Message- From: Polly Poon [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 10:20 To: Tomcat Users List Subject: JDBC Realm redirect problem Hi all, My configuration is Tomcat: 3.2.4 JDK: 1.3.01

Re: JDBC Realm with Oracle

2002-07-01 Thread Eddie Bush
I don't use Oracle, so I could be way off - but it sounds like it doesn't know how to deal well with the URL you've provided. My suggestion would be to try using the connectionName=dbUsername and connectionPassword=dbPassword attributes in your Realm element. HTH, Eddie Kevin Andryc wrote:

RE: JDBC Realm with Oracle

2002-07-01 Thread Kevin Andryc
To: Tomcat Users List Subject: Re: JDBC Realm with Oracle I don't use Oracle, so I could be way off - but it sounds like it doesn't know how to deal well with the URL you've provided. My suggestion would be to try using the connectionName=dbUsername and connectionPassword=dbPassword attributes

Re: JDBC Realm with Oracle

2002-07-01 Thread Eddie Bush
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eddie Bush Sent: Monday, July 01, 2002 11:41 AM To: Tomcat Users List Subject: Re: JDBC Realm with Oracle I don't use Oracle, so I could be way off - but it sounds like it doesn't know how to deal well with the URL

Re: jdbc realm + form authenication setup

2002-04-30 Thread julie . f . mccabe
role-namemanager/role-name /security-role tomcat-users.xml tomcat-users user name=operate password=operatethis roles=manager / /tomcat-users [EMAIL PROTECTED] on 04/29/2002 02:58:49 PM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Re: jdbc realm + form

Re: jdbc realm + form authenication setup /solution/end

2002-04-30 Thread julie . f . mccabe
Hello again, I found the solution, tomcat-users.xml was in the wrong directory. Thanks Julie. [EMAIL PROTECTED] on 04/30/2002 06:26:17 AM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Re: jdbc realm + form authenication setup Hello Thanks for the below

Re: jdbc realm + form authenication setup

2002-04-29 Thread Rick Fincher
Hi Julie, In your web.xml file if you specify auth-method FORM you have to give it two form names like so: auth-methodFORM/auth-method form-login-config form-login-page/login.htm/form-login-page form-error-page/loginFailed.htm/form-error-page /form-login-config You

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 Digest Password Generation

2002-02-19 Thread Ignacio J. Ortega
De: Michael Burgess [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 20 de febrero de 2002 0:04 I have currently got it to work by calling org.apache.tomcat.modules.aaa.RealmBase.digest(). But in This was corrected some time ago, i dont remember if 3.3 final was released having correct

RE: jdbc realm

2002-02-06 Thread Ignacio J. Ortega
Hi I use tomcat 3.2 and wounder how I can set up jdbc realm for each tomcat application. Eeach application use different databases. you cant do this in 3.2.X, but in 3.3 and 4.0 you can define a Different realm in every context, just by folding the JDBCRealm config line inside a context

RE: JDBC Realm not working with NT service

2002-01-02 Thread Guido Medina
copy the jsse 1.0.2 jar files inside C:\Program Files\JavaSoft\JRE\lib\Ext that's it... -Original Message- From: gman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 1:16 PM To: [EMAIL PROTECTED] Subject: JDBC Realm not working with NT service hello, my tomcat 3.3

RE: JDBC Realm not working with NT service

2002-01-02 Thread gman
i tried this, also put them in the jdk/lib that is my JAVA_HOME, but i get the same problem. Did you run into the same problem and solve it with that jar? thanks G --- Guido Medina [EMAIL PROTECTED] wrote: copy the jsse 1.0.2 jar files inside C:\Program Files\JavaSoft\JRE\lib\Ext that's

RE: JDBC Realm not working with NT service

2002-01-02 Thread Ignacio J. Ortega
De: gman [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 2 de enero de 2002 18:16 my tomcat 3.3 application works fine as a stand-alone application using JDBC Realm authentication. When i run it as an NT service using the supplied jk_nt_service tool.. the authentication fails with the

RE: JDBC Realm not working with NT service

2002-01-02 Thread Ignacio J. Ortega
De: gman [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 2 de enero de 2002 18:16 java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'. Uhh, and you are using the JDBC-ODBC Bridge from microsoft, this not the best for your hair ;).., try to use a

Re: JDBC Realm

2001-10-26 Thread Frank Lawlor
Sounds like you have your http server (IIS, Apache?) set to provide security. Turn it off. (are you serving everything, even html, from tomcat?) Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software

RE: JDBC Realm/logout-problem with Netscape/Mozilla - Cookie needed?

2001-10-19 Thread Ignacio J. Ortega
By the way: I have to enable cookies when using JDB Realm, url-rewriting does not work. Is this normal? You have to enable cookies because you use form login authentication in 3.2.3.. 3.2.3 does not have noCokies sessions implemented for the login form authentication.. You should go to

RE: JDBC Realm on Tomcat 3.2.2

2001-07-15 Thread Michael Wentzel
After adding the RequestInterceptor className=org.apache.tomcat.request.JDBCRealm.. in server.xml, what's needed to be in web.xml file. You need to add your roles for the app and configure your login method. i.e. security-constraint web-resource-collection

Re: JDBC Realm error on startup

2001-07-10 Thread David Herder
What can you recommend to use as a driver (JDBC) for an Access/Tomcat/Apache/jdk 1.3.1 configuration?? thanks, dave Using the JDBC-ODBC Bridge can not lead to jar problems as is included on the default bootstrap classpath.., perhaps a incorrectly created ODBC? My point was not that the

Re: JDBC Realm error on startup

2001-07-09 Thread David Herder
PROTECTED]' [EMAIL PROTECTED] Subject: RE: JDBC Realm error on startup Date: Fri, Jul 6, 2001, 3:21 PM I am getting the following error on startup of Tomcat: 2001-07-06 02:49:01 - ContextManager: JDBCRealm: Starting JDBCRealm, trying to acquire JDBC Driver class and DB Connection You need your

Re: JDBC Realm error on startup

2001-07-09 Thread David Herder
] Subject: RE: JDBC Realm error on startup Date: Mon, Jul 9, 2001, 1:11 PM This is a bug in JDBCRealm, that is trying to use a non existing resource string in localstrigs.properties, this bug is corrected ( a will be out ) on 3.2.2 / currently in CVS. But apart from that, the bug is only surfaced

RE: JDBC Realm error on startup

2001-07-09 Thread Ignacio J. Ortega
your issue.. Saludos , Ignacio J. Ortega -Mensaje original- De: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Enviado el: lunes 9 de julio de 2001 19:12 Para: '[EMAIL PROTECTED]' Asunto: RE: JDBC Realm error on startup This is a bug in JDBCRealm, that is trying to use a non

RE: JDBC Realm error on startup

2001-07-09 Thread Michael Wentzel
Using the JDBC-ODBC Bridge can not lead to jar problems as is included on the default bootstrap classpath.., perhaps a incorrectly created ODBC? My point was not that the bridge would cause this problem but that it causes problems in general. Why add another layer to your code when it is

RE: JDBC Realm Questions Tomcat 3.2.2

2001-07-06 Thread Michael Wentzel
Now, when somebody wants to access myServlet resource, he/she must have the role of an Administrator or Operator. I think this should be checked into the database. The problem is that, when I've tried to access myServlet for the first time, the following message was generated in the

RE: JDBC Realm Questions Tomcat 3.2.2

2001-07-06 Thread Jann VanOver
sure where to go from there. Would someone with more experience with the process like to enter this? -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 4:28 AM To: '[EMAIL PROTECTED]' Subject: RE: JDBC Realm Questions Tomcat 3.2.2 Now, when

RE: JDBC Realm error on startup

2001-07-06 Thread Michael Wentzel
I am getting the following error on startup of Tomcat: 2001-07-06 02:49:01 - ContextManager: JDBCRealm: Starting JDBCRealm, trying to acquire JDBC Driver class and DB Connection You need your libraries in TOMCAT_HOME/lib to be able to make the connection. Although JDBCRealm has been

RE: JDBC Realm Questions Tomcat 3.2.2

2001-07-06 Thread Michael Wentzel
Tomcat's JDBC Realm won't work with an empty database password. I posted about this a week ago and asked if it was a bug and noone responded. If you proved the JDBCRealm a valid username with a blank (empty string) password, Tomcat will ignore BOTH Username and password. Guess I must

RE: JDBC Realm Questions Tomcat 3.2.2

2001-07-05 Thread Rajehswar V. Rao
I am looking for same -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 4:02 AM To: [EMAIL PROTECTED] Subject: Fwd:JDBC Realm Questions Tomcat 3.2.2 Someone please respond to these questions so I know whether JDBC Realms are a

RE: JDBC Realm Questions Tomcat 3.2.2

2001-07-05 Thread Ignacio J. Ortega
Hola Kaneda: It does. I personally use it, and it . It is stable. I use mySQL mm driver. Fine !!! (NB: for the mySQL user add autoReconnect=true otherwise the realms crash an no one can be indentify correctly that make that connectionURL=jdbc:mysql://LOCALHOST:3306/mydatabase?autoReco

RE: JDBC Realm Tomcat 3.2.2 Help

2001-07-04 Thread Ignacio J. Ortega
I already sent this to tomcat-dev but got no response. I'm sending it here as well since this list may be more appropriate. It's more apropiate, sure :) This may be a stupid question but I've found hundreds of messages from confused users on the subject of JDBC Realms and Tomcat and

Re: JDBC Realm problem..

2001-06-20 Thread Andrew Zhdanov
Hello Anurag, Wednesday, June 20, 2001, 3:05:54 PM, you wrote: AT Hi, AT I am running Tomcat 3.2 with Apache 1.3 and using MySQL database. I tried AT to setup JDBC Realm by following the instructions but to no avail. After AT making the necessary changes in server.xml file, when I start

Re: JDBC Realm

2001-06-13 Thread Mark Muffett
Yes - I've just done it - look at (and adapt) the examples, it's the easiest way. Regards Mark Muffett - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 5:58 PM Subject: JDBC Realm Is it possible to have JDBC Realms on a TOMCAT

Re: Re: JDBC Realm

2001-06-13 Thread lists
Mark, I appreciate your help. I have tried to adapt the examples and I believe I have everything in place. However, apache just wont bring the login form when I try to access a protected resource. Would you have any idea where to look at for this problem? Christopher Lambrou, CGL

RE: Re: JDBC Realm

2001-06-13 Thread Michael Wentzel
Mark, I appreciate your help. I have tried to adapt the examples and I believe I have everything in place. However, apache just wont bring the login form when I try to access a protected resource. Would you have any idea where to look at for this problem? You might want to check

  1   2   >