Re: Tomcat, JSP and LDAP

2012-03-20 Thread Neil Munro
our satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être

Re: Tomcat, JSP and LDAP

2012-03-20 Thread Pid *
> n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > >> From: neilmu...@gmail.com >> Date: Mon, 19 Mar 2012

RE: Tomcat, JSP and LDAP

2012-03-19 Thread Martin Gainty
quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: neilmu...@gmail.com > Date: Mon, 19 Mar 2012 10:35:54 + > Subject: Re: Tomcat, JSP and LDAP >

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/19/12 12:58 PM, Neil Munro wrote: > Sorry about that mismatch, I totally missed that and have corrected > it now. Stuck with version 2.3. Good (sort of). Spec version 2.3 is quite old. Every currently-supported version of Tomcat supports a

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Neil Munro
On 19 March 2012 14:36, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Neil, > > On 3/19/12 6:35 AM, Neil Munro wrote: >> This is the layout of my web.xml file: >> >> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >> "http://java.sun.com/dtd/we

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/19/12 6:35 AM, Neil Munro wrote: > This is the layout of my web.xml file: > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > Webapp version mismatch. This almost certa

Re: Tomcat, JSP and LDAP

2012-03-19 Thread Neil Munro
On 18 March 2012 18:04, Pid wrote: > On 18/03/2012 13:34, Neil Munro wrote: > > > >> As for moving my login and fail_login jsp to web-inf the pages could not be >> located and a had a go working in the web.xml file pointing to a path >> relative to /../web-inf/ or similar, I shall try again but I

Re: Tomcat, JSP and LDAP

2012-03-18 Thread Pid
On 18/03/2012 13:34, Neil Munro wrote: > As for moving my login and fail_login jsp to web-inf the pages could not be > located and a had a go working in the web.xml file pointing to a path > relative to /../web-inf/ or similar, I shall try again but I did try your > suggestion and will try again

Re: Tomcat, JSP and LDAP

2012-03-18 Thread Neil Munro
On Mar 16, 2012 7:22 PM, "Christopher Schultz" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Neil, > > On 3/16/12 6:23 AM, Neil Munro wrote: > > On 15 March 2012 18:24, Christopher Schultz > className="org.apache.catalina.realm.JNDIRealm" > > connectionName="uid={0},ou=my company

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/16/12 6:23 AM, Neil Munro wrote: > On 15 March 2012 18:24, Christopher Schultz className="org.apache.catalina.realm.JNDIRealm" > connectionName="uid={0},ou=my company users,dc=mycompany,dc=com " > connectionPassword="userPassword" > con

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
ended, should be somewhere in WEB-INF where it is not directly accessible). p PS Please stop top-posting. > On 16 March 2012 15:07, Daniel Mikusa wrote: >> >> >> - Original Message - >> From: "Neil Munro" >> To: "Tomcat Users List"

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 14:56, Neil Munro wrote: > On 16 March 2012 14:41, Pid wrote: >> On 16/03/2012 14:13, Neil Munro wrote: >>> I have since made some minor progress with LDAP query's this login.jsp >>> file as you can see query's for a list of valid users and creates a >>> drop down list to choose from

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
:07, Daniel Mikusa wrote: > > > - Original Message - > From: "Neil Munro" > To: "Tomcat Users List" > Sent: Friday, March 16, 2012 10:56:56 AM > Subject: Re: Tomcat, JSP and LDAP > > On 16 March 2012 14:41, Pid wrote: >> On 16/03/2012 14:13, Neil

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Daniel Mikusa
- Original Message - From: "Neil Munro" To: "Tomcat Users List" Sent: Friday, March 16, 2012 10:56:56 AM Subject: Re: Tomcat, JSP and LDAP On 16 March 2012 14:41, Pid wrote: > On 16/03/2012 14:13, Neil Munro wrote: >> I have since made some minor pr

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
On 16 March 2012 14:41, Pid wrote: > On 16/03/2012 14:13, Neil Munro wrote: >> I have since made some minor progress with LDAP query's this login.jsp >> file as you can see query's for a list of valid users and creates a >> drop down list to choose from >> >> > "http://www.w3.org/TR/xhtml1/DTD/xht

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 14:13, Neil Munro wrote: > I have since made some minor progress with LDAP query's this login.jsp > file as you can see query's for a list of valid users and creates a > drop down list to choose from > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > <%@page > import

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
I have since made some minor progress with LDAP query's this login.jsp file as you can see query's for a list of valid users and creates a drop down list to choose from http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <%@page import="javax.naming.*,javax.naming.directory.*,java.util.Arra

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 10:23, Neil Munro wrote: > On 15 March 2012 18:24, Christopher Schultz > wrote: > Neil, > > On 3/15/12 1:05 PM, Neil Munro wrote: >>> connectionURL="ldap://my.ldap.server.com"; alternateURL="ldap://my.ldap.server.com"; userPattern="uid={0},ou=my company users,dc=mycom

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Neil Munro
On 15 March 2012 18:24, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Neil, > > On 3/15/12 1:05 PM, Neil Munro wrote: >> > connectionURL="ldap://my.ldap.server.com"; >> alternateURL="ldap://my.ldap.server.com"; userPattern="uid={0},ou=my >> company users,dc=mycom

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Pid *
On 15 Mar 2012, at 17:06, Neil Munro wrote: > On 15 March 2012 17:01, Pid * wrote: >> On 15 Mar 2012, at 16:23, Neil Munro wrote: >> >>> Hi all, >>> I am trying to implement a means to authenticate a user on a >>> web app via ldap, I have been trying for some time and am now >>> intimat

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 3/15/12 1:05 PM, Neil Munro wrote: > connectionURL="ldap://my.ldap.server.com"; > alternateURL="ldap://my.ldap.server.com"; userPattern="uid={0},ou=my > company users,dc=mycompany,dc=com" /> > The "debug" attribute does not exist any more

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Neil Munro
On 15 March 2012 17:01, Pid * wrote: > On 15 Mar 2012, at 16:23, Neil Munro wrote: > >> Hi all, >>         I am trying to implement a means to authenticate a user on a >> web app via ldap, I have been trying for some time and am now >> intimately familiar with the files I need to edit, but not ex

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Pid *
On 15 Mar 2012, at 16:23, Neil Munro wrote: > Hi all, > I am trying to implement a means to authenticate a user on a > web app via ldap, I have been trying for some time and am now > intimately familiar with the files I need to edit, but not exactly > how. > > I know that much of the ldap

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Daniel Mikusa
y, plus it give a good way to browse the LDAP tree. If you want to go another route, I would also recommend Spring Security. It has excellent support for LDAP. Dan - Original Message - From: "Neil Munro" To: users@tomcat.apache.org Sent: Thursday, March 15, 2012 12:22:18 PM

RE: Tomcat, JSP and LDAP

2012-03-15 Thread Nick Williams
| www.ul.com UL acquired PureSafety on December 6, 2011. Learn More. -Original Message- From: Neil Munro [mailto:neilmu...@gmail.com] Sent: Thursday, March 15, 2012 11:22 AM To: users@tomcat.apache.org Subject: Tomcat, JSP and LDAP Hi all, I am trying to implement a means to authe