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
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
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
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
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
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
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
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
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]
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
.
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
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
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
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:
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
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
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
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
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
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
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
[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
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
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
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
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
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
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
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
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
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
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
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.
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.
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
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
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:
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
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:
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
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"
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
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
What is JDBC Realm.
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
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
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
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
: 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
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
.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
-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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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
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
*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
: 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
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
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
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
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
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
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
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
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
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
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
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
]
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
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
-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
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
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]
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
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
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
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
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
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
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
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
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
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
/
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
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
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
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
201 - 300 of 313 matches
Mail list logo