JDBC Realm by-passing login page using a link

2005-03-10 Thread Fredrik Liden
Is it possible to pass login info in a link and then based on this information set the JDBC realm status to logged in? In other words is it possible to trigger the authentication manually in a filter? Thanks! /Fredrik

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 [mailto

How to make my error page in the case of BASIC JDBC realm

2005-02-02 Thread joby.joseph1
Hi, I am using Tomcat 5.x. I am using BASIC JDBC Realm. I want to make my own error page as the error page in the case of HTTP Status 401 error. This error comes when I click on Cancel button when the realm asks for user name and password. Any one knowing this stuff, kindly reply. Thanks

Re: LogOut from JDBC Realm

2004-12-02 Thread Chris Chappell
of invalidating the login info? Can anyone shed some photons on this. TC :5.0.19, Solaris 9, Mysql 4.something - JDBC Realm, SSL + filter giving Cache-Control - private,no-cache,no-store Chris Chappell public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException

RE: LogOut from JDBC Realm

2004-12-02 Thread Allistair Crossley
To: [EMAIL PROTECTED] Subject: Re: LogOut from JDBC Realm Hi there - Thanks for the responses and sorry to get back to this - I haven't made any progress and have had other problems (challenges?) to fix first! I have a link to a logout servlet with the doGet() method below. Using eclipse

LogOut from JDBC Realm

2004-11-23 Thread Chris Chappell
Hi there Can anyone give me a pointer how to logout a JDBC Realm authenticated user without closing the browser. E.g. I need a log out button which forwards to a goodbye page and does something like this (fictitious) userSession.expire(); I've had a trawl thriough the docs etc and nothing

RE: LogOut from JDBC Realm

2004-11-23 Thread Shapira, Yoav
Hi, You mean like session.invalidate()? ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Chris Chappell [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 10:10 AM To: [EMAIL PROTECTED] Subject: LogOut from JDBC Realm Hi there Can anyone give me a pointer

Re: LogOut from JDBC Realm

2004-11-23 Thread Chris Chappell
Yoav Well I tried this, but it didn't seem to make any difference so I thought maybe it was just resetting the session vars. But I'll have another play with it. Ceeres Chris Chappell Subject: RE: LogOut from JDBC Realm Hi, You mean like session.invalidate()? ;) Yoav Shapira http

LogOut from JDBC Realm

2004-11-23 Thread Chris Chappell
Hi there Can anyone give me a pointer how to logout a JDBC Realm authenticated user without closing the browser). E.g. I need a log out button with forwards to a goodbye page and does something like this (fictitious) userSession.expire(); I've had a trawl thriough the docs etc and nothing

Re: LogOut from JDBC Realm

2004-11-23 Thread deepak shripat mane
: Hi there Can anyone give me a pointer how to logout a JDBC Realm authenticated user without closing the browser). E.g. I need a log out button with forwards to a goodbye page and does something like this (fictitious) userSession.expire(); I've had a trawl thriough the docs etc and nothing

Re: LogOut from JDBC Realm

2004-11-23 Thread Quinton Delpeche
On Tuesday 23 November 2004 17:09, Chris Chappell wrote: Hi there Hi, Can anyone give me a pointer how to logout a JDBC Realm authenticated user without closing the browser. E.g. I need a log out button which forwards to a goodbye page and does something like this (fictitious

About JDBC Realm

2004-11-10 Thread Etherman
Hi I use JDBC Realm (Tomcat 5) to authenticate users. Users with PRIVATE_ACCESS role can access Private Area (/private/*). But when I try to log in a user having PUBLIC_ACCESS role, Tomcat doesn't redirect the user to error.jsp page but redirect the user to something like this HTTP Status 403

Sv: Default User with JDBC Realm

2004-10-25 Thread Roland Carlsson
: : is there any way to have an Default User authenticated vs the JDBC Realm. : Our custom wants to have the user guest logged in by default, and you : can then 'login' with your credentials via an explicit link within the : webapp. Why not just make the guest-related areas public? -QM

Default User with JDBC Realm

2004-10-24 Thread Mark Doppelfeld
Hi together, is there any way to have an Default User authenticated vs the JDBC Realm. Our custom wants to have the user guest logged in by default, and you can then 'login' with your credentials via an explicit link within the webapp. Thanks in advance Mark

Re: Default User with JDBC Realm

2004-10-24 Thread QM
On Sun, Oct 24, 2004 at 07:27:42PM +0200, Mark Doppelfeld wrote: : is there any way to have an Default User authenticated vs the JDBC Realm. : Our custom wants to have the user guest logged in by default, and you : can then 'login' with your credentials via an explicit link within the : webapp

Re: Default User with JDBC Realm

2004-10-24 Thread Mark Doppelfeld
Because that would mean to maintain a lot of urls which are public (but don't) belong to the same sub url (like /public/... and /protected/...) QM wrote: On Sun, Oct 24, 2004 at 07:27:42PM +0200, Mark Doppelfeld wrote: : is there any way to have an Default User authenticated vs the JDBC Realm

JDBC realm question answered

2004-09-05 Thread Steven J. Owens
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

Wrong file served after JDBC Realm authentication

2004-06-16 Thread Pierre Sarrazin
I am trying to use the JDBC realm in my Tomcat web application and it mostly works, but after logging into the application, Tomcat sends the application's style.css file to my browser... I am using Tomcat 5.0.16 on a Fedora Core 2 system. I have configured the JDBC realm this way in conf

RE: Wrong file served after JDBC Realm authentication

2004-06-16 Thread Ariel Valentin
List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Wrong file served after JDBC Realm authentication Date: Wed, 16 Jun 2004 23:19:09 -0400 I am trying to use the JDBC realm in my Tomcat web application and it mostly works, but after logging into the application, Tomcat sends the application's

Fw: JDBC Realm Problem

2004-05-26 Thread Ignacio J. Tissera
Hi , I 've installed tomcat 5.0.24 and i try to implement security by JDBC Realm and the context is Loaded in the web.xml i wrote that: security-constraint web-resource-collection web-resource-nameBACK OFFICE/web-resource-name url-pattern/carpetaUno/*/url-pattern

JDBC Realm Problem

2004-05-21 Thread Ignacio J. Tissera
Hi , I 've installed tomcat 5.0.24 and i try to implement security byJDBC Realm and the context is Loaded in the web.xml i wrote that: security-constraint web-resource-collection web-resource-nameBACK OFFICE/web-resource-name url-pattern/carpetaUno/*/url-pattern /web-resource-collection

Extending Standard JDBC Realm

2004-04-20 Thread richard
Hi, I'm running Tomcat 5.0.19 and I configured a JDBC realm. Everything works fine. Now instead of going to j_security_check to authenticate a user, I would like to go to my own servlet that would: 1 - Authenticate the user 2 - Do some other tasks before going to the next

[NEWBIE] Setting up a JDBC Realm and using RequestDispatcher

2004-04-06 Thread Eric Vogue
Hello, I'm novice with Tomcat. I'm currently developing an application with access control based on forms (auth-methodFORM/auth-method in the web.xml) and on declarative security with a JDBC realm. I use the MVC model with servlets redirecting to jsp pages with (forward method

RE: [NEWBIE] Setting up a JDBC Realm and using RequestDispatcher

2004-04-06 Thread Daniel Huang
You may want to use response.sendRedirect() at step 3. -Original Message- From: Eric Vogue [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 8:33 AM To: [EMAIL PROTECTED] Subject: [NEWBIE] Setting up a JDBC Realm and using RequestDispatcher Hello, I'm novice with Tomcat. I'm

JDBC Realm JDBC Data Source

2004-02-24 Thread Justin Wesbrooks
I'm trying to set up Tomcat 5 to use a JDBCRealm that points to a MS SQL Server 2000 instance. I also have a datasource set up to the same database instance. I can get one or the other to work, but not both together. If I move the JDBCRealm inside my Host or Context tag, the datasource

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

JDBC Realm

2003-11-19 Thread Justin Wesbrooks
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 connectionURL=jdbc:mysql://localhost:3306/cofc?user=root;password=root userTable=users userNameCol='USERNAME'

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

JDBC Realm hangs

2003-11-13 Thread lists
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 the user types

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
. - Original Message - From: Gardner, David [IT] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 3:15 AM Subject: JDBC Realm I have a JDBC Realm configured against a sybase database and it works fine. See below I have changed the details for obvious security reasons

RE: JDBC Realm

2003-10-28 Thread Gardner, David [IT]
Hello, Please let me explain a little more. It is the password that the JDBC realm uses to connect to the database that should be encrypted for example connectionPassword=foobar should look something like connectionPassword=3dc69416b0783cac9f3dda37b6bb0862. I have been able to deal with user

JDBC Realm

2003-10-27 Thread Gardner, David [IT]
I have a JDBC Realm configured against a sybase database and it works fine. See below I have changed the details for obvious security reasons. Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=com.sybase.jdbc2.jdbc.SybDriver

basic jdbc realm authentication

2003-10-14 Thread Koes, Derrick
I'm using tomcat 4.1.18 with Microsoft Internet Explorer 6.0 sp1 as the browser and oracle as the database to which I authenticate users. Oddly, the colon character cannot be used in user names, but can be used in passwords. I'm assuming my code is at fault, but I cannot see how. Perhaps there

Re: basic jdbc realm authentication

2003-10-14 Thread [EMAIL PROTECTED]
In the basic authentication approach the userid and password are concatenated with a ':' between them, base64 encoded, then placed in an HTTP header to send to the server. Obviously, the server will have trouble differentiating between the ':' in the username and the one separating the user name

JDBC Realm not working with - Please help

2003-10-09 Thread rudidoku
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 TABLE [dbo].[t_Role] ( [RoleId] [int] IDENTITY (1, 1) NOT NULL , [role] [varchar] (12) ) CREATE TABLE [dbo].[t_Usr] ( [UsrId] [int] IDENTITY

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
. 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 TABLE [dbo].[t_Role] ( [RoleId] [int] IDENTITY (1, 1) NOT NULL , [role] [varchar] (12) ) CREATE TABLE [dbo].[t_Usr

Re: JDBC Realm not working with - Please help

2003-10-09 Thread Lawence
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 TABLE [dbo].[t_Role] ( [RoleId] [int] IDENTITY (1, 1) NOT NULL , [role] [varchar] (12) ) CREATE TABLE [dbo

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

JDBC Realm problems

2003-09-23 Thread Laurent Perez
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 JDBC driver within $tomcat/common/lib. My realm is described as follows, in $tomcat/conf/server.xml : 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

FW: Tomcat startup with JDBC Realm [RE-POST]

2003-09-02 Thread Koes, Derrick
-Original Message- From: Koes, Derrick Sent: Friday, August 29, 2003 11:05 AM To: '[EMAIL PROTECTED]' Subject: Tomcat startup with JDBC Realm I have a timing issue where both my database and tomcat are being run as Windows services. If my server reboots for some reason, even though

Re: FW: Tomcat startup with JDBC Realm [RE-POST]

2003-09-02 Thread Tim Funk
http://marc.theaimsgroup.com/?l=tomcat-userm=106216990220530w=2 -Tim Koes, Derrick wrote: -Original Message- From: Koes, Derrick Sent: Friday, August 29, 2003 11:05 AM To: '[EMAIL PROTECTED]' Subject: Tomcat startup with JDBC Realm I have a timing issue where both my database

RE: FW: Tomcat startup with JDBC Realm [RE-POST]

2003-09-02 Thread Koes, Derrick
To: Tomcat Users List Subject: Re: FW: Tomcat startup with JDBC Realm [RE-POST] http://marc.theaimsgroup.com/?l=tomcat-userm=106216990220530w=2 -Tim Koes, Derrick wrote: -Original Message- From: Koes, Derrick Sent: Friday, August 29, 2003 11:05 AM To: '[EMAIL PROTECTED

Re: Tomcat startup with JDBC Realm

2003-08-29 Thread Tim Funk
reboots for some reason, even though I have startup dependencies (tomcat depends on db), tomcat often doesn't start my web app because it failed the initial JDBC check it does for a database when there is a JDBC realm configured. I presume this is because Windows reports the db service as started so

JDBC Realm question

2003-07-11 Thread Jon Felmey
Hi all. I am using auth-methodBASIC/auth-method 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.

RE: JDBC Realm question

2003-07-11 Thread Farrell, Patrick
: Friday, July 11, 2003 3:29 PM To: [EMAIL PROTECTED] Subject: JDBC Realm question Hi all. I am using auth-methodBASIC/auth-method 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

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

JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
Can anyone tell me what this message means, and how to correct it? 2003-07-08 12:56:03 ContextConfig[/hd]: WARNING: Security role name tomcat used in an auth-constraint without being defined in a security-role Here is a copy of my WEB-INF/web.xml: ?xml version=1.0 encoding=ISO-8859-1?

RE: JDBC Realm Warning Message?

2003-07-08 Thread Mike Curwen
, 2003 12:08 PM To: Tomcat Users List Subject: JDBC Realm Warning Message? Can anyone tell me what this message means, and how to correct it? 2003-07-08 12:56:03 ContextConfig[/hd]: WARNING: Security role name tomcat used in an auth-constraint without being defined in a security-role

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
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. Otherwise; where would a security-role element belong? Should it be part of web.xml? I am assuming (lots of stuff, because I have not done

Re: JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
the error, If I leave it in I don't get the error message, but my test app does not successfully log-in. QUESTIONS: 1. Should my new JDBC Realm be located inside Engine or Host element? 2. Should I need to comment out the UserDatabaseRealm that is defined in the Tomcat sample server.xml file? 3

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: Configuring Tomcat to use a JDBC Realm

2003-03-29 Thread Dean A. Hoover
Isn't mysql a client program? If so, I can connect with the user/pw. Tarun Ramakrishna Elankath wrote: Seems like an access problem to me. Dean, did you try connecting to the server from a mysql client with the given username/password to check whether you are able to connect ? On Sat,

Configuring Tomcat to use a JDBC Realm

2003-03-28 Thread Dean A. Hoover
I am attempting to use JDBC Realm as described in the Apress book by James Goodwill. My os is RH 8.0. I'm using MySQL 4.0.12 and Connector/J 3.06. I am using Tomcat 4.0.6. I set up a tomcatusers database and a test user as per the book. I dropped mysql-connector-java-3.0.6-stable-bin.jar

RE: Configuring Tomcat to use a JDBC Realm

2003-03-28 Thread Galbayar Dorjgotov
check mysql port -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 9:20 AM To: [EMAIL PROTECTED] Subject: Configuring Tomcat to use a JDBC Realm I am attempting to use JDBC Realm as described in the Apress book by James Goodwill. My os

Re: Configuring Tomcat to use a JDBC Realm

2003-03-28 Thread Dean A. Hoover
Can you be a little more specific? I'm not a mysql expert. Galbayar Dorjgotov wrote: check mysql port -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 9:20 AM To: [EMAIL PROTECTED] Subject: Configuring Tomcat to use a JDBC Realm I am

Re: Configuring Tomcat to use a JDBC Realm

2003-03-28 Thread Tarun Ramakrishna Elankath
Seems like an access problem to me. Dean, did you try connecting to the server from a mysql client with the given username/password to check whether you are able to connect ? On Sat, 2003-03-29 at 07:50, Dean A. Hoover wrote: Can you be a little more specific? I'm not a mysql expert.

JDBC Realm MS SQL 2000

2003-02-25 Thread Søren Blidorf
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 39676513 Direkte: +45

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

VS: JDBC Realm MS SQL 2000

2003-02-25 Thread Søren Blidorf
=password userRoleTable=user_roles roleNameCol=rolename / /Context -Oprindelig 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

Re: JDBC Realm MS SQL 2000

2003-02-25 Thread Ian Hunter
What Exception do you get? - Original Message - From: Søren Blidorf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 7:51 AM Subject: VS: JDBC Realm MS SQL 2000 This is how I set it up for Access. When I change the driver settings to Oracle or MySQL it works

SV: JDBC Realm MS SQL 2000

2003-02-25 Thread Søren Blidorf
do I write db.users? or just users Either way it just returns to my errorpage -Oprindelig meddelelse- Fra: Ian Hunter [mailto:[EMAIL PROTECTED] Sendt: 25. februar 2003 14:27 Til: Tomcat Users List Emne: Re: JDBC Realm MS SQL 2000 What Exception do you get? - Original Message

RE: JDBC Realm MS SQL 2000

2003-02-25 Thread George Sexton
] Sent: Tuesday, February 25, 2003 5:36 AM To: [EMAIL PROTECTED] Subject: JDBC Realm MS SQL 2000 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

JDBC Realm problem

2003-02-18 Thread Barley
I am unable to start Tomcat with a JDBC Realm configured. I am guessing it is because Tomcat can't find the JDBC driver, but it should be able to. I have the driver in shared/lib and shared/classes. Here is my Realm configuration from server.xml: Realm className

RE: JDBC Realm problem

2003-02-18 Thread Geoff Peters
: Tuesday, February 18, 2003 1:40 PM To: [EMAIL PROTECTED] Subject: JDBC Realm problem I am unable to start Tomcat with a JDBC Realm configured. I am guessing it is because Tomcat can't find the JDBC driver, but it should be able to. I have the driver in shared/lib and shared/classes. Here is my

Re: JDBC Realm problem

2003-02-18 Thread Sean Dockery
PROTECTED] wrote in message 003001c2d774$cfbec780$0100a8c0@glamdring">news:003001c2d774$cfbec780$0100a8c0@glamdring... I am unable to start Tomcat with a JDBC Realm configured. I am guessing it is because Tomcat can't find the JDBC driver, but it should be able to. I have the driver i

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

JDBC Realm Authentication Problem

2003-02-06 Thread Geoff Peters
level JDBC realm back in (exactly the same as the top level realm) Removing the top level realm makes no difference on startup or authentication. Shouldn't I be able to authenticate for the manager and admin outside of a contect level database? Thanks!! Geoff SERVER.XML: Server port=8005

Re: JDBC Realm Authentication Problem

2003-02-06 Thread Sean Dockery
. In the following server.xml, if I remove the context level realm, the authentication fails against the database (I can connect on startup, but I cannot authenticate to access the manager or admin applications). However, if I put the context level JDBC realm back in (exactly the same as the top level realm

Re: JDBC Realm Authentication Problem

2003-02-06 Thread Sean Dockery
that authentication is failing against the memory realm (so it doesn't bother checking your JDBC realm at the engine level). At 17:27 2003-02-06 -0700, you wrote: 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

Tomcat4 JDBC Realm: Problem With Informix

2002-12-10 Thread Skladovs, Victor
Dear Friends! I use Tomcat4 authentication (JDBCRealm) in my applications. It works fine with ORACLE, but trying to use this with INFORMIX database, I get the following error in stdout.log file when starting Tomcat: Create Catalina server Starting service Tomcat-Standalone Apache Tomcat/4.0.4

JDBC Realm example

2002-10-23 Thread John Murtari
I am not sure if this has come up or not, but the example showing how to do a JDBC realm at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JDBCRealm is incorrect. The example shows : Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName

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

  1   2   3   4   >