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

RE: JDBC Realm Warning Message?

2003-07-08 Thread Mike Curwen
From the DTD for web.xml: !-- The auth-constraint element indicates the user roles that should be permitted access to this resource collection. The role-name used here must either correspond to the role-name of one of the security-role elements defined for this web application, or be the

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
the tomcat user/role gets configured in a flat file called tomcat-users.xml which lives in your tomcat directory. the tomcat user loads the file as a JNDI resource by having the following directive in the server context of server.xml: !-- Global JNDI resources -- GlobalNamingResources !--

Re: JDBC Realm Warning Message?

2003-07-08 Thread Rick Roberts
OK. The error message is gone now! Thanks. It took me a few tries to figure out where the security-role needed to go but finally found it by trial and error. STILL GETTING THIS ERROR THO: No Realm has been configured to authenticate against If I comment out the UserDatabaseRealm, then I get the

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