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:
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
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
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
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