There are some tricky issues due to do with scope of classes that Tomcat
needs to see (to operate your Realm for you) and what normal web
applications can see (they normally don't need to see the internals of the
Servlet/JSP implementation). It is described here:
Edit
tomcat/bin/startup.bat
in one of the last lines change the keyword start to run. Then go into
a DOS box and run startup.bat. This time any faults will remain on the
screen and you can start debugging from there.
-Original Message-
From: Gayathrie Gunawardene [mailto:[EMAIL
This is a three part problem.
First you have a process that does the challenging of access. In the case
of Form Based Authentication this means
redirecting the user to a login page.
Second you have a scheme to take the credentials the user provides and
validate them. This is the job of the
needing to move and
expose the full server code.]
-Original Message-
From: Andrew Liles [mailto:[EMAIL PROTECTED]
Sent: 10 July 2003 16:30
To: '[EMAIL PROTECTED]'
Subject: HOWTO obtain UserDatabase from a servlet?
I wish to secure a website with a simple realm/user database
setup
a problem...!
Regards
Souren
- Original Message -
From: Andrew Liles [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 11:56 PM
Subject: RE: tomcat startup
Are you trying this on a laptop/standalone machine that has
no network
stack
Are you trying this on a laptop/standalone machine that has no network
stack? You need a TCP/IP stack.
(It could be another process is listening on the same IP/port; but the usual
symptom in that case is a different error)
-Original Message-
From: Souren Sinha [mailto:[EMAIL
I suspect the problem is your use of the include method.
You need to be quite careful about flushing stuff to the output stream...
(include() may cause this)
If you then get an error in a JSP page, the page processor tries to output a
meaningful error but tries to do first discard the
I wish to secure a website with a simple realm/user database
setup for a low usage site with low numbers of users.
UserDatabaseRealm (underpinned by MemoryUserDatabase) would
seem to be ideally suited.
How do I access the MemoryUserDatabase from a regular
application to be able to SET passwords,
This fault is caused by declaring two Beans with the same local variable,
e.g.
html
...
jsp:useBean id=test class=bean1/
jsp:useBean id=test class=bean2/
...
/html
To: [EMAIL PROTECTED]
Subject: Re: Tomcat bug? (PropertyResourceBundle)
From: Ryan Schutt [EMAIL PROTECTED]
Date: Mon, 17 Jul