Argh... don't you hate it when you finally give up on the docs
and post a question, then look at the docs and see the answer?
Not sure how I missed it, but in:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html
Under the heading "Configuring a Realm", it says that
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
: Friday, July 11, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: JDBC Realm question
Hi all. I am using BASIC to have users log in.
Is there a way for me to get the current username of the user that just
logged in, in a servlet? I would like to log into a database each time a
user logs in.
Thanks
Hi all. I am using BASIC to have users log in.
Is there a way for me to get the current username of the user that just
logged in, in a servlet? I would like to log into a database each time a
user logs in.
Thanks.
_
Help STOP S
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 in
>
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
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:
>
Hi Eric
You seems to be missing:
connectionName="some_name"
connectionPassword="some_password"
in your RequestInterceptor setup
Under normal conditions it is the unix user/password you used when the db was
created
Stefan
On Tuesday 17 April 2001 14:07, you wrote:
> I
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
Here is the error I get
FATAL:java.lang.RuntimeException: JDBCRealm.start.readXml: The user property
is
missing. It is mandatory.
java