RE: Creating a custom realm (I don't know how?)

2003-07-24 Thread Andrew Liles
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:

RE: tomcat startup problem - tomcat window disappears

2003-07-24 Thread Andrew Liles
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

RE: [Q] Form-based authentication with DatasourceRealm

2003-07-24 Thread Andrew Liles
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

RE: HOWTO obtain UserDatabase from a servlet? [SOLVED]

2003-07-24 Thread Andrew Liles
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

RE: tomcat startup

2003-07-16 Thread Andrew Liles
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

RE: tomcat startup

2003-07-14 Thread Andrew Liles
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

RE: Exception:getOutputStream() has already been called for this response

2003-07-13 Thread Andrew Liles
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

HOWTO obtain UserDatabase from a servlet?

2003-07-10 Thread Andrew Liles
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,

Re: Tomcat bug? (PropertyResourceBundle)

2001-09-17 Thread Andrew Liles
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