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
are a supported feature of Tomcat3.2.2. I posted the question a few days ago and have gotten no responses. Has anyone been successful in referencing a jdbc datasource configured in the server.xml of Tomcat 3.2.2? If so, how? Jonathan Forward Header_ Subject:JDBC

Re:RE: JDBC Realm Questions Tomcat 3.2.2

2001-07-05 Thread Jonathan Pierce
The real question is are you just wanting jdbc datasources or are you wanting a JDBC user authentication modality? Because that's what JDBCRealm is for, not for general JDBC connections. Once, again I've got to say I think you are misunderstanding Realms. You do not need to directly access JDBC

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

JDBC Realm Tomcat 3.2.2 Help

2001-07-04 Thread Jonathan Pierce
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. 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 no good explanation or example. There is

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

JDBC Realm problem..

2001-06-20 Thread Anurag Tokhi
Hi, I am running Tomcat 3.2 with Apache 1.3 and using MySQL database. I tried to setup JDBC Realm by following the instructions but to no avail. After making the necessary changes in server.xml file, when I start Tomcat, I get the error message SQLException: server configuration denies access

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 Tomcat

JDBC Realm

2001-06-13 Thread lists
Is it possible to have JDBC Realms on a TOMCAT installation that's binded to Apache? Christopher Lambrou, CGL Computer Services, Inc. Empire State Building, PMB 16J Suite 3304 New York, NY 10118 Tel: (212) 971-9723 Fax: (212) 564-1135 URL: http://www.cglcomputer.com Email: [EMAIL PROTECTED]

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
. 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 installation that's binded to Apache? Christopher Lambrou, CGL Computer Services, Inc

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

RE: Re: JDBC Realm

2001-06-13 Thread Andrew Robson
Below is good advice. If the login page does not come up (btw, what happens does it just take you direct to the protected resource?) the first place I would look is the tomcat config files. So basically I would double-check server.xml and the web-xml for your app. If you are sure they are

RE: Re: JDBC Realm

2001-06-13 Thread lists
Thank you all for your time. My mistake was in the web.xml file. When I changed url-pattern*/url-pattern to: url-pattern/*/url-pattern the BASIC auth started working. Christopher Lambrou, CGL Computer Services, Inc. Empire State Building, PMB 16J Suite 3304 New York, NY 10118 Tel:

TWIMC: username and password in session and jdbc Realm

2001-05-31 Thread me
Finally it was easy: JDBCRealm stores the j_username and j_password as session variable and yout can get it via session.getAttribute either as JSP scriplet or as servlet. Just store it or get it through the first page after login. Sometimes it is worth studying the source code.. (here

authorization=null?? I use JDBC Realm?

2001-05-30 Thread me
Hi Jan, does it really work?? I am using Apache 1.3, Tomcat 3.2.2, Win NT 4.0 SP6, JDBC Realm, the page is under security-constraint in a frame (the first subpage) and request.getRemoteUser() and request.getAuthType() are working, giving me FORM and USER. But request.getHeader always returns

RE: jdbc realm question

2001-05-28 Thread Pernica, Jan
It is OK. Then Browser will prompt you for user name and password. On Friday, May 25, 2001 6:02 PM, [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] wrote: I have a jdbc realm set up and running with the BASIC login config. I set debug to 9 and started to notice that as soon as a request comes

How to get Role and Password from JDBC Realm

2001-05-28 Thread me
Hello, I want to use the provided user_pass and user_role in the JDBCRealm-Database given in server.xml. What is the most elegant way to do this? Of cource I would be able to get it via request.getRemoteUser() and then make a select to the hardcoded database name with provided auth user and pass

jdbc realm question

2001-05-25 Thread james
I have a jdbc realm set up and running with the BASIC login config. I set debug to 9 and started to notice that as soon as a request comes in for a protected page/dir tomcat tries to autheticate with username = null before prompting for username and password, which is a problem since I would like

Setting Up a JDBC Realm

2001-05-23 Thread Daniel Duchaussoy
Hi, I am using Tomcat 4 b5 I do face a real trouble with setting-up a JDBC Realm using an Oracle Database, I think did exactly the same as the tutorial but it doesn't seem to work properly. Are there any specific actions to take in order to make it work. I am new to this list if someone

Supid errors gone but another internal error with JDBC Realm

2001-05-17 Thread tw.richter
Hello, the error I posted in JDBCRealm/Tomcat do not not protect Web Pages!?... is solved. Stupid I was I forgot to rename the *.html files to *.jsp. Tomcat obviously totally ignores the html-File and doesn't protect it. Ok seems to work. But now when accessing the protected source I get an

Re: Supid errors gone but another internal error with JDBC Realm

2001-05-17 Thread Antony Bowesman
[EMAIL PROTECTED] wrote: Hello, the error I posted in JDBCRealm/Tomcat do not not protect Web Pages!?... is solved. Stupid I was I forgot to rename the *.html files to *.jsp. Tomcat obviously totally ignores the html-File and doesn't protect it. Ok seems to work. But now when accessing

RE: Supid errors gone but another internal error with JDBC Realm

2001-05-17 Thread Ignacio J. Ortega
internal error with JDBC Realm [EMAIL PROTECTED] wrote: Hello, the error I posted in JDBCRealm/Tomcat do not not protect Web Pages!?... is solved. Stupid I was I forgot to rename the *.html files to *.jsp. Tomcat obviously totally ignores the html-File and doesn't protect

Newbie: JDBC Realm

2001-05-16 Thread Ajay Ejantkar
Why is the JDBCRealm connection established? We can access info in a dB in the servlet scripts by using the connection information for the driver and url. So what does the JDBCRealm connection do? I haven't found any detail documentation of what it does and how to use it, other then in the tomcat

Re: Newbie: JDBC Realm

2001-05-16 Thread Christian Hargraves
JDBCRealm is an implementation of the J2EE standard of authorization and authentication. You give it the info it needs and it takes care of the login and the authorization (ACI) part. On Wednesday 16 May 2001 06:55, you wrote: Why is the JDBCRealm connection established? We can access info

Re: Newbie: JDBC Realm

2001-05-16 Thread Christian Hargraves
JDBCRealm is an implementation of the J2EE standard of authorization and authentication. You give it the info it needs and it takes care of the login and the authorization (ACI) part. On Wednesday 16 May 2001 07:20, Christian Hargraves wrote: JDBCRealm is an implementation of the J2EE

Re: Newbie: JDBC Realm

2001-05-16 Thread Oki DZ
Ajay Ejantkar wrote: Why is the JDBCRealm connection established? We can access info in a dB in the servlet scripts by using the connection information for the driver and url. So what does the JDBCRealm connection do? It's for providing access privilege to your webapps. Say you had

Re: JDBC Realm is gone

2001-05-15 Thread Oki DZ
Hi, I can get the MD5 authentication working. In my server.xml: Context path=/test docBase=test debug=9 reloadable=true Realm className=org.apache.catalina.realm.JDBCRealm debug=99 digest=MD5 driverName=org.gjt.mm.mysql.Driver

Re: JDBC Realm is gone

2001-05-14 Thread Bip Thelin
On Mon, 14 May 2001, Oki DZ wrote: I already have the JDBC connection and the tables set up. I also looked up in the bottom of the Tomcat Manager's web.xml. Problem is, the auth-method attribute (?) declared as BASIC; what does that mean? In Apache web server parlance, AFAIK, it means clear

Re: JDBC Realm is gone

2001-05-14 Thread Oki DZ
Bip Thelin wrote: If you wanna use encrypted password you have to turn on digest on the realm. Look in JDBCRealm-howto, basically you turn on digest and choose the algorithm you want to use, then you have to generate your password with the same algoritm. i.e. Realm ... Digest=MD5 And

Re: JDBC Realm is gone

2001-05-14 Thread Peter B. West
Bip Thelin wrote: On Mon, 14 May 2001, Oki DZ wrote: I already have the JDBC connection and the tables set up. I also looked up in the bottom of the Tomcat Manager's web.xml. Problem is, the auth-method attribute (?) declared as BASIC; what does that mean? In Apache web server

Re: JDBC Realm is gone

2001-05-14 Thread Oki DZ
Peter B. West wrote: Note that the references to `Digest' with a capital `D' in server.xml and the JDBCRealm class must be `digest' with a lower-case `d'. The usage of the public class (in 3.3 at least) is I have tried it, still no login. java org.apache.tomcat.modules.aaa.JDBCRealm -a MD5

Re: JDBC Realm is gone

2001-05-13 Thread Oki DZ
Bip Thelin wrote: I suggest you read the JDBCRealm-howto.html which should be in the docs directory of you distribution. Basically what you need to do besides what you've already done is to setup the tables(If you haven't already) and also check in the bottom of web.xml howto invoke a realm.

Re: JDBC Realm is gone

2001-05-13 Thread Oki DZ
Bip Thelin wrote: I suggest you read the JDBCRealm-howto.html which should be in the docs directory of you distribution. Basically what you need to do besides what you've already done is to setup the tables(If you haven't already) and also check in the bottom of web.xml howto invoke a realm.

JDBC Realm is gone

2001-05-12 Thread Oki DZ
Hi, I downloaded the b4 the other day. Now I can start Tomcat using a JDBC Realm. Thanks for the World -class bug fix. Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://myhost.com/James

Re: JDBC Realm is gone

2001-05-12 Thread Bip Thelin
On Sat, 12 May 2001, Oki DZ wrote: Hi, I downloaded the b4 the other day. Now I can start Tomcat using a JDBC Realm. Thanks for the World -class bug fix. [...] Question is, how can one restricted or allowed to enter a realm? I started Tomcat with the above setting, but yet, if I

JDBC Realm

2001-05-09 Thread Oki DZ
Hi, I'd like to run Tomcat using a JDBC connection to a MySQL server. When I run it, I always have the following (yes, I tried for about three times): bdg:/usr/local/tomcat/bin# ./catalina.sh run Using CLASSPATH:

RE: JDBC Realm

2001-05-09 Thread Ignacio J. Ortega
Please post a bug for this issue in component auth at http://nagoya.apache.org/bugzilla TIA Saludos , Ignacio J. Ortega -Mensaje original- De: okidz [mailto:okidz]En nombre de Oki DZ Enviado el: miƩrcoles 9 de mayo de 2001 11:07 Para: [EMAIL PROTECTED] Asunto: JDBC Realm Hi

JDBC Realm

2001-05-09 Thread Oki DZ
Hi, I'd like to run Tomcat using a JDBC connection to a MySQL server. When I run it, I always have the following (yes, I tried for about three times): bdg:/usr/local/tomcat/bin# ./catalina.sh run Using CLASSPATH:

Re: JDBC Realm

2001-05-09 Thread Oki DZ
Ignacio J. Ortega wrote: Please post a bug for this issue in component auth at http://nagoya.apache.org/bugzilla Done. I put it in Catalina component. Oki -- The JanosVM supports separate per-team heaps, per-team garbage collection threads, inter-team thread migration, safe cross-team

JDBC Realm

2001-05-07 Thread Kevin Fonner
So I have been experimenting with this JDBCRealm stuff and can't seem to make it ask me for a user name and password. in the server.xml is.. RequestInterceptor className="org.apache.tomcat.request.JDBCRealm"

JDBC Realm Roles

2001-05-04 Thread Nathan Coast
Hi, Is the user-role information obtained via a JDBCRealm stored against a session? If not, each attempt to access a secured resource must result in a hit on the database - surely this would be bad for performance. The downside of storing the role info is that if a users role changes during

RE: JDBC Realm Roles

2001-05-04 Thread Christian Hargraves
be wrong, but that's what I got by looking at the code. Christian -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 9:54 AM To: tomcat user Subject: JDBC Realm Roles Hi, Is the user-role information obtained via a JDBCRealm stored against a session

JDBC Realm

2001-05-02 Thread Hariy
What is JDBC Realm.

FIXED: Re: JDBC Realm problem

2001-04-24 Thread Jeff Kilbride
solved! Thanks to all who gave suggestions. --jeff - Original Message - From: Jeff Kilbride [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, April 23, 2001 6:04 PM Subject: Re: JDBC Realm problem Hi Andrew, From the mm.mysql docs: Name: autoReconnect Use

JDBC Realm problem

2001-04-23 Thread Jeff Kilbride
I'm using JDBC Realm with MySQL to protect an area of my website. I've got everything configured correctly and it works. However, I've noticed that if the protected area is accessed and then *not* accessed again for a period longer than my MySQL connection timeout value (default of 8 hours

RE: JDBC Realm problem

2001-04-23 Thread Ignacio J. Ortega
PROTECTED] Asunto: JDBC Realm problem I'm using JDBC Realm with MySQL to protect an area of my website. I've got everything configured correctly and it works. However, I've noticed that if the protected area is accessed and then *not* accessed again for a period longer than my MySQL connection timeout

Re: JDBC Realm problem

2001-04-23 Thread Jeff Kilbride
better than the mod_jk in 3.2.*. Do you recommend using the 3.3 mod_jk? Thanks, --jeff - Original Message - From: Ignacio J. Ortega [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 23, 2001 3:31 PM Subject: RE: JDBC Realm problem Hola Jeff: Some people has reported

Re: JDBC Realm problem

2001-04-23 Thread Andrew Robson
: Ignacio J. Ortega [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 23, 2001 3:31 PM Subject: RE: JDBC Realm problem Hola Jeff: Some people has reported problems that lookclose to yours..no solutions ... please test against latest code on CVS for 3.2 branch...3.3 code (m2

Re: JDBC Realm problem

2001-04-23 Thread Jeff Kilbride
pool implementation for JDBCRealm. Would you be willing to send it to me outside the list? Thanks, --jeff - Original Message - From: Andrew Robson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 23, 2001 5:56 PM Subject: Re: JDBC Realm problem Hi Jeff, I had exactly

RE: JDBC Realm problem

2001-04-23 Thread Ignacio J. Ortega
.too much for an email..use at your own risk :))) Thanks, --jeff Saludos , Ignacio J. Ortega - Original Message - From: Ignacio J. Ortega [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 23, 2001 3:31 PM Subject: RE: JDBC Realm problem Hola Jeff: Some

RE: JDBC Realm - User Roles

2001-04-19 Thread Ignacio J. Ortega
-Mensaje original- De: Gary Henson [mailto:[EMAIL PROTECTED]] Enviado el: jueves 19 de abril de 2001 7:25 Para: '[EMAIL PROTECTED]' Asunto: JDBC Realm - User Roles I've been trying to set up JDBC Realm authentication with Tomcat. I've run into a problem when it comes to roles. The user

RE: JDBC Realm - User Roles

2001-04-19 Thread Gary Henson
That was it exactly, thanks for your help. -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Thursday, 19 April 2001 19:53 To: '[EMAIL PROTECTED]' Subject: RE: JDBC Realm - User Roles In Tomcat 3.2.1 , you can have *ONE* realm for the entire tomcat..from your

JDBC Realm Question

2001-04-17 Thread eric chacon
I am trying to set up a JDBC Realm on tomcat 3.2.1 (Also, Linux, Postgres 7.0 something, Apache using mod_jk...) Here is my entry in the server.xml file RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99"

Re: JDBC Realm Question

2001-04-17 Thread Stefan Meisner Larsen
14:07, you wrote: I am trying to set up a JDBC Realm on tomcat 3.2.1 (Also, Linux, Postgres 7.0 something, Apache using mod_jk...) Here is my entry in the server.xml file RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debu

Re: JDBC Realm Question

2001-04-17 Thread eric chacon
That seems to have done it... thanks, Eric From: Stefan Meisner Larsen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JDBC Realm Question Date: Tue, 17 Apr 2001 14:55:21 +0200 Hi Eric You seems to be missing: connectionName="some

Security - Simple Realm/JDBC Realm - Pls Help

2001-04-16 Thread Suchi sekar
Hi I am relatively new to tomcat and I hope someone can help me. I am using JDBC realm to protect parts of my web app. Everything including authentication was working great on my stand alone tomcat server. Recently I moved my web app to apache/tomcat installation. I configured apache/tomcat

Re: Security - Simple Realm/JDBC Realm - Pls Help

2001-04-16 Thread Suchi sekar
dd a JKMount statement for every login page Suchi --- Suchi sekar [EMAIL PROTECTED] wrote: Hi I am relatively new to tomcat and I hope someone can help me. I am using JDBC realm to protect parts of my web app. Everything including authentication was working great on my stand alone tomcat ser

JDBC Realm with SQLServer

2001-04-05 Thread Robert Baafi
I am running Tomcat with Apache on Windows 2000. I am using SQLserver to store user/password data. I am trying to use the /examples/jsp/security/protected/index.jsp with Tomcat to check out JDBC realm. I commented out the SimpleRealm statements in server.xml, and have the following

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

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

2001-03-12 Thread Herchel Wojciech
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 is not tip-top

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

2001-03-12 Thread Ignacio J. Ortega
too... but only words can not help anybody TIA Saludos , Ignacio J. Ortega -Mensaje original- De: Herchel Wojciech [mailto:[EMAIL PROTECTED]] Enviado el: lunes 12 de marzo de 2001 10:00 Para: '[EMAIL PROTECTED]' Asunto: ODP: JDBC Realm Problems; Probably server.xml related

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

2001-03-12 Thread Herchel Wojciech
Oryginalna wiadomooe- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wysano: 12 marca 2001 10:12 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm Problems; Probably server.xml related... Well you can: * report a bug in http://nagoya.apache.org/bugzilla * study JDBCRealm and relate

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

2001-03-11 Thread eric chacon
I am trying to set up a JDBC Realm on tomcat 3.2.1. After modifying the server.xml file (shown below), tomcat will no longer start. I am quite new to tomcat and Linux, in genral. I have not modified any of the other xml files (the web.xml for my application, for instance). I have set up my

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

2001-03-11 Thread Herchel Wojciech
PROTECTED]] Wysano: 12 marca 2001 03:13 Do: [EMAIL PROTECTED] Temat: JDBC Realm Problems; Probably server.xml related... I am trying to set up a JDBC Realm on tomcat 3.2.1. After modifying the server.xml file (shown below), tomcat will no longer start. I am quite new to tomcat and Linux

Re: JDBC Realm not triggering

2001-03-06 Thread Mike Slinn
Craig: Aha! You have pointed out several sources of problems! Might you also be able to answer the other questions I raised? - If I omit transport-guarantee, does it default to NONE? - Is it possible to use * for http-method to specify that all HTTP methods are to be subject to security, or do

RE: JDBC Realm not triggering

2001-03-06 Thread Mike Slinn
Ignacio: I just read your earlier replies, must have missed them earlier. Do you now mean that the following will not work because the transport-guarantee element is set to NONE: security-constraint web-resource-collection web-resource-namedeveloper/web-resource-name

RE: JDBC Realm not triggering

2001-03-06 Thread Ignacio J. Ortega
*Without* transport-guarantee element, constraints are NOT enforced.. Saludos , Ignacio J. Ortega -Mensaje original- De: Mike Slinn [mailto:[EMAIL PROTECTED]] Enviado el: martes 6 de marzo de 2001 10:29 Para: [EMAIL PROTECTED] Asunto: RE: JDBC Realm not triggering Ignacio

RE: JDBC Realm not triggering

2001-03-06 Thread Ignacio J. Ortega
: Mike Slinn [mailto:[EMAIL PROTECTED]] Enviado el: martes 6 de marzo de 2001 10:29 Para: [EMAIL PROTECTED] Asunto: RE: JDBC Realm not triggering Ignacio: I just read your earlier replies, must have missed them earlier. Do you now mean that the following will not work because

RE: jdbc realm

2001-03-05 Thread Ignacio J. Ortega
3) It doesn't do any pooling of databases - each time that you go to the database, its reconnecting to the database. That is a heavy cost... One of the reasons why it was synchronized was because of the lack of database pool handling. No need to do pooling AFAIK, only one connection

ODP: JDBC Realm not triggering

2001-03-05 Thread Herchel Wojciech
form auth does work, only j_security_check is not found. vVolf -Oryginalna wiadomooe- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wysano: 5 marca 2001 09:52 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm not triggering Please revise http://localhost:8080/examples/jsp

RE: JDBC Realm not triggering

2001-03-05 Thread Ignacio J. Ortega
Para: '[EMAIL PROTECTED]' Asunto: ODP: JDBC Realm not triggering form auth does work, only j_security_check is not found. vVolf -Oryginalna wiadomooe- Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Wysano: 5 marca 2001 09:52 Do: '[EMAIL PROTECTED]' Temat: RE: JDBC Realm

ODP: JDBC Realm not triggering

2001-03-05 Thread Herchel Wojciech
JDBRealm has *nothing* to do with FORM or BASIC or web.xml settings.., it's ONLY a way to store user details inside a DB, . very much so. but the problem is with the form, not with jdbc or anything else. tomcat cannot exceute action j_security_check, thus throwing a 404 error. i did

RE: JDBC Realm not triggering

2001-03-05 Thread Mike Slinn
Ignacio: I realize that only by accessing a protected resource should the JDBC realm be triggered. You might notice (in the web.xml listed below) that I attempted to make every JSP protected, so any access to a JSP would force authentication. Still no luck with triggering, however. I didn't

RE: JDBC Realm not triggering

2001-03-05 Thread John de la Garza
Mike, I see that you are using the JDBC realm...Are you using tomcat as a standalone server? -Original Message- From: Mike Slinn [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 3:25 PM To: [EMAIL PROTECTED] Subject: RE: JDBC Realm not triggering Ignacio: I realize

RE: JDBC Realm not triggering

2001-03-05 Thread Mike Slinn
Yes, for development. Once I get it working on this machine, I'll deploy to TomCat Apache. The same JDBC database is accessed by both machines, however. Mike Message-ID: 000501c0a5d1$e00a8e70$307513d1@JDELAGARZA Mike, I see that you are using the JDBC realm...Are you using tomcat

Re: JDBC Realm not triggering

2001-03-05 Thread Craig R. McClanahan
ing error: HTTP 404 - File not found The url reported is http://localhost:8080/j_security_check Somehow the form action is not being picked up by the TomCat security mechanism. What have I missed? A few more questions: - If I omit transport-guarantee, does it default to NONE? - Is it poss

jdbc realm

2001-03-04 Thread mikhail malamud
Hello - What is the purpose of a jdbc realm. Configuring it into server.xml seems rather easy but what is the practical usage? Can anyone show how he/she uses jdbc realm. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: jdbc realm

2001-03-04 Thread Thomas Riemer
JDBC Realm is used for authentication against a database. We use it to protect a directory from access, unless you are authenticated. It allows you to keep all your credentials in a database instead of in a flat file somewhere. JDBC Realm has a couple of problems, for those of you using it. 1

ODP: JDBC Realm not triggering

2001-03-04 Thread Herchel Wojciech
same problem here - still don't know how to solve it :( vVolf -Oryginalna wiadomooe- Od: Mike Slinn [mailto:[EMAIL PROTECTED]] Wysano: 2 marca 2001 18:59 Do: [EMAIL PROTECTED] Temat: JDBC Realm not triggering I feel like I sailed off the edge of the known universe, because

ODP: jdbc realm

2001-03-04 Thread Herchel Wojciech
] Temat: jdbc realm Hello - What is the purpose of a jdbc realm. Configuring it into server.xml seems rather easy but what is the practical usage? Can anyone show how he/she uses jdbc realm. Thanks. - To unsubscribe, e-mail

ODP: jdbc realm

2001-03-04 Thread Herchel Wojciech
JDBC Realm has a couple of problems, for those of you using it. 1) It has to change pretty radically between 3.2.1 and 3.3.1. It looks like some of the code in 3.2.1 is never called. ^^ most likely. i'm using tomcat 3.2.1 and after mySQL closes

Re: JDBC realm

2001-02-22 Thread Suchi Somasekar
-To: [EMAIL PROTECTED] Date: Wed, 21 Feb 2001 12:31:52 -0500 To: [EMAIL PROTECTED] Subject: JDBC realm - Pls help Hi I am a new user of tomcat and I am having trouble getting the JDBC realm to work. I am using Tomcat 3.2.1 on Windows2000 and I am testing a small sample application

JDBC realm - Pls help

2001-02-21 Thread Suchi Somasekar
Hi I am a new user of tomcat and I am having trouble getting the JDBC realm to work. I am using Tomcat 3.2.1 on Windows2000 and I am testing a small sample application that I wrote. Everything including the user authentication works great when I use the "SimpleRealm". But, When I tr

JDBC realm

2001-02-16 Thread uthay
is there any specific advantage in using JDBC realm. Why cant we load the driver (as static into the jvm) directly and operate? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: JDBC realm

2001-02-16 Thread Craig R. McClanahan
uthay wrote: is there any specific advantage in using JDBC realm. Why cant we load the driver (as static into the jvm) directly and operate? You are certainly welcome to use a JDBC driver directly in your own applications, in any manner that you wish. The reason that JDBCRealm exists

RE: JDBC REALM, classnotfound exception

2001-02-09 Thread Vijay Prabhakar
Title: RE: JDBC REALM, classnotfound exception If your TOMCAT_HOME for the running version of tomcat is /usr/local/tomcat, then /usr/local/tomcat/lib will work. If you are compiling the source to a /build/tomcat directory, then it's /build/tomcat/lib. -Vijay -Original Message

RE: JDBC Realm

2001-02-06 Thread Gilles Laborderie
Hi, For JDBC Realm info, take a look at http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto You'll need a driver for MySQL. This one worked for me: http://mmmysql.sourceforge.net/ Documentation on how to set the driver up can be found at http://mmmysql.sourceforge.net/doc

JDBC Realm

2001-02-05 Thread Vegard Skjefstad
Hi, I'm working on a project where I'm going to use a MySQL JDBC connection. I noticed in the server.xml something called a JDBCRealm. I was unable to find any any documentation about the JDBCRealm. Is this something I should use? How will I access the database if I use it? Is there any

Re: JDBC Realm

2001-02-05 Thread hische
A JDBC Realm baiscally is your tomcat-users.xml file in a database. Look in: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto Tomcat4 and tomcat 3.x allow realms per Context. Wilko Vegard Skjefstad [EMAIL PROTECTED] on 05-02-2001 17:07:35 Please respond

Re: JDBC Realm

2001-02-05 Thread Scott Sanders
01 8:07 AM Subject: JDBC Realm Hi, I'm working on a project where I'm going to use a MySQL JDBC connection. I noticed in the server.xml something called a JDBCRealm. I was unable to find any any documentation about the JDBCRealm. Is this something I should use? How will I access the databas

Re: Basic Auth JDBC Realm

2001-02-02 Thread Craig R. McClanahan
Marino Vittorio wrote: I want to build an authentication mechanism via JDBC realm and basic authentication that lets me request for user role in each jsp page of my application. In other words I want a jsp page to be accessed from more than 1 role, and put if statements to show links

Basic Auth JDBC Realm

2001-01-29 Thread Marino Vittorio
I want to build an authentication mechanism via JDBC realm and basic authentication that lets me request for user role in each jsp page of my application. In other words I want a jsp page to be accessed from more than 1 role, and put if statements to show links depending on user role

Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Nigel Stirzaker
Hi I'am try to get form based authentication working with jBoss/Tomcat and interbase 5.6 but I'am getting the following error. Interbase is working fine for the CMP and code and general setup works fine with mySQL (our other trial database). It looks to me like the param being setup for the query

RE: Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Ignacio J. Ortega
Please post your server.xml JDBRealm config, to have a look at it.. Saludos , Ignacio J. Ortega -Mensaje original- De: Nigel Stirzaker [mailto:[EMAIL PROTECTED]] Enviado el: martes 23 de enero de 2001 12:41 Para: '[EMAIL PROTECTED]' Asunto: Form based authentication and JDBC Realm

FW: Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Nigel Stirzaker
/ Thanks Nigel -Original Message- From: Nigel Stirzaker Sent: Tuesday 23 January 2001 11:41 To: '[EMAIL PROTECTED]' Subject: Form based authentication and JDBC Realm with Interbase Hi I'am try to get form based authentication working with jBoss/Tomcat

RE: Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Nigel Stirzaker
Software Consultant SSA Softwright (01753) 811833 Ext 265 [EMAIL PROTECTED] www.Softwright.co.uk -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Tuesday 23 January 2001 12:07 To: '[EMAIL PROTECTED]' Subject: RE: Form based authentication and JDBC Realm with Int

jdbc realm

2001-01-23 Thread John de la Garza
If I have two different projects under the webapps dir and want each one to use a different data base, how can a do that? Seems that the jdbc realm stuff is in the conf/server.xml file that applies to all projects

JDBC realm authentication

2001-01-21 Thread Dario Novakovic
i want to use database for (form based) user authentication but problem is that i have crypted user passwords and JDBCRealm.class expects plain passwords. Would it be enough if i change JDBCRealm class to encrypt password typed in the form before it checks it against password in the database? i

<    1   2   3   4   >