> From: Edward Quick [mailto:[EMAIL PROTECTED]
> Subject: RE: memoryrealm
>
> I'm not sure about that because I copied the format that's
> used in the tomcat manager webapp 's web.xml in
> tomcat-5.5.16/server/webapps/manager/WEB-INF/web.xml
O.k., I could
Thanks Chuck,
I'm not sure about that because I copied the format that's used in the tomcat
manager webapp 's web.xml in
tomcat-5.5.16/server/webapps/manager/WEB-INF/web.xml
which has in it:
Link to the UserDatabase instance from which we request lists of
defined role n
> From: Edward Quick [mailto:[EMAIL PROTECTED]
> Subject: RE: memoryrealm
> I also updated the webapps web.xml file so that it refers
> to SampleUserDatabase instead of Tomcat's UserDatabase.
You shouldn't do that; the webapp isn't using the Resource, only the
Realm
Thanks Chuck.
Here is my context.xml now:
And this is in the webapp's META-INF. I also updated the webapps web.xml file
so that it refers to SampleUserDatabase instead of Tomcat's UserDatabase.
SampleUserDatabase
org.apache.catalina.UserDatabase
Unfortunatel
> From: Edward Quick [mailto:[EMAIL PROTECTED]
> Subject: RE: memoryrealm
>
>
Unless your element is in server.xml (it shouldn't be), the
path attribute is not allowed; remove it. If you did put your
element in server.xml, move it to the proper location (the webapp'
]
> To: users@tomcat.apache.org
> Subject: RE: memoryrealm
> Date: Wed, 12 Mar 2008 12:51:20 +
>
>
> I don't know if this helps, but here's an extract from the log below. This
> gets created at deployment, but when I visit the URL, I don't get any output.
I don't know if this helps, but here's an extract from the log below. This gets
created at deployment, but when I visit the URL, I don't get any output.
Also I've determined now that the sample app is using conf/tomcat-users.xml and
not my own /tmp/tomcatusers.xml file as I get a 403 returned w
On your realm up the level of debug and let us know whats in the logs
D
On Wed, 2008-03-12 at 11:16 +, Edward Quick wrote:
> Thanks David, I had forgotten the web.xml as you suggested. I have now added
> this so my web.xml is as shown below, and I get the prompt but the userid I'm
> using
Thanks David, I had forgotten the web.xml as you suggested. I have now added
this so my web.xml is as shown below, and I get the prompt but the userid I'm
using 'test' (passwd: test) isn't going through.
Hope this isn't a daft question, but do I need to add code to the servlet to
get this to wo
whats in your web.xml ?
is your app forcing a login ?
all the realm provides is a system to do authentication
unless you are triggering it, it isn't used
On Wed, 2008-03-12 at 10:36 +, Edward Quick wrote:
> Hi,
>
> I would like to specify my own tomcat-users.xml for my webapp to use (
Bárbara Vieira wrote:
> When I use that Realm, how the principals variable, that is declared in that
> class(MemoryRealm) as a HashMap, is loaded?
Configure Tomcat to use the MemoryRealm.
Start tomcat with JPDA debugging enabled.
Set a break point at the start of the authenticate() method.
Access
On 12/5/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Omar Adobati [mailto:[EMAIL PROTECTED]
> Subject: MemoryRealm problems!
>
> I put it into the $MY_APP/META-INF directory, but it seems to
> be ignored.
Does the file $(catalina.home)/conf/[engine]/[host]/Apps.xml exist? If
so,
> From: Omar Adobati [mailto:[EMAIL PROTECTED]
> Subject: MemoryRealm problems!
>
> I put it into the $MY_APP/META-INF directory, but it seems to
> be ignored.
Does the file $(catalina.home)/conf/[engine]/[host]/Apps.xml exist? If
so, it will override the $MY_APP/META-INF/context.xml file. (T
13 matches
Mail list logo