Re: Problems with authentication

2001-07-26 Thread Joseph D Toussaint
It's my understanding that j_security_check, j_username and j_password are all used with form based authentication (specified in th web.xml). The idea is that you create a 'custom login screen' and name you user field j_username and your password j_password. Then the action for that form is

question about apache and ldap

2001-07-25 Thread Joseph D Toussaint
Ok here is what I'd like to do and what I have done and I'm wondering if it's possible. I want tomcat to use apache for all the static content, and I want apache to authenticate via a ldap server. I also want the username and groups (roles) from ldap to be avaliable on the request object so I

Re: question about WEB-INF/lib

2001-07-25 Thread Joseph D Toussaint
I'm pretty certain that my war file is set up correctly. In my WEB-INF/lib directoy I have jdbc jar file that tomcat can't find and the tomcat user manual for deploying tomcat applications says WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and

question about WEB-INF/lib

2001-07-24 Thread Joseph D Toussaint
It's my understanding that any jar files in the WEB-INF/lib directory should be found by the container when the app is deployed - however I havea jdbc driver in that directory and I'm getting a class not found exception. When ever I have set up tomcat before I've always edited the tomcat.sh

Re: question about WEB-INF/lib

2001-07-24 Thread Joseph D Toussaint
if it is a bug. :o) Thanks, Dave Joseph D Toussaint [EMAIL PROTECTED] on 07/24/2001 11:55:44 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: question about WEB-INF/lib It's my understanding that any jar files in the WEB-INF/lib

RE: problem with getPort()

2001-07-09 Thread Joseph D Toussaint
found yet). Since Tomcat is the reference implementation, there isn't really any choice in the implantation, unlike JRun and the other servlet engines, which can choose what they want to do. Randy -Original Message- From: Joseph D Toussaint [mailto:[EMAIL PROTECTED]] Sent

RE: problem with getPort()

2001-07-09 Thread Joseph D Toussaint
to put a return on the next line - sending a redirect does not stop the JSPs processing. Randy -Original Message- From: Joseph D Toussaint [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 8:24 AM To: [EMAIL PROTECTED] Subject: RE: problem with getPort

RE: problem with getPort()

2001-07-09 Thread Joseph D Toussaint
before you send the redirect. I'm surprised an exception -- like IllegalStateException -- isn't thrown. Take out the out.println() calls from servlet 1 and it should work. - Fernando Joseph D Toussaint To: [EMAIL

RE: problem with getPort()

2001-07-08 Thread Joseph D Toussaint
tomcat. Thanks joe On 03 Jul 2001 16:27:54 -0400, Randy Layman wrote: Is there a reason that you aren't using request.getPort()? -Original Message- From: Joseph D Toussaint [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 4:38 PM To: [EMAIL PROTECTED

problem with getPort()

2001-07-03 Thread Joseph D Toussaint
I'm trying to get the port off of a request object and it is returning port 0. Here is how I'm getting the URL I came from. StringBuffer came_from = HttpUtils.getRequestURL(request); While reconstructing a new URL java.net.URL tmp_url = new java.net.URL(came_from.toString());