I have some Java servlet example applications that do this that I can send you if you want. I don't know JSP, so, I don't know if you can easily translate it to JSP or not. I would assume that you can do all the same things using JSP that you can in servlets, just using different syntax?
Jon ----- Original Message ----- From: "Allen Chesley" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 6:48 PM Subject: Re: JNDI/LDAP/JSP Example? > Very nice, but not quite what I need. > > For one, user authentication in JNDIRealms is not working, and won't until > Tomcat 4.1 or later. That means I cannot use it to log in users, only the > admin entry embedded in the code. > > For another, I want to access and store DATA in an LDAP server, not just use > it to authenticate. I need to know how to set up a structure to allow me to > both read (unauthenticated) and modify (authenticated) using JSP's. > > Like I said, there is a fair number of examples of how to do it using a > standalone JAVA app, and how to use JDBC to do it in a JSP, but none that I > can find that combine LDAP accesses with JSP. > > Chakradhar Tallam wrote: > > > http://www.vsj.co.uk/archive/Feb2002/Javanet/javanet1-0202.asp > > http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html > > > > ct > > > > -----Original Message----- > > From: Allen Chesley [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 16 May 2002 8:31 AM > > To: Tomcat User Mail List > > Subject: JNDI/LDAP/JSP Example? > > > > Does anyone know a good reference for a working application that uses > > LDAP with JNDI in JSP (with or without Beans)? > > > > I have read all of the existing documents/pages I can find, and they all > > show JNDI/LDAP with JAVA apps. I assume that something similar to a > > JDBC Context would be appropriate, but I have been unable to figure out > > where the differences lie. > > > > -- > > Allen L. Chesley > > Senior Systems Engineer > > Raytheon > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > -- > Allen L. Chesley > Senior Systems Engineer > Raytheon > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>