> 
> --- Philippe Le Gal <[EMAIL PROTECTED]> wrote:
> > I'm looking for an example for implementing a LDAP
> > user authentification inside a struts application.
> > 
> > I think I've to test java.naming.ldap classes. Am i
> > right ?
> 
> Oh, gotcha. IIRC it's javax.naming.ldap but anything I
> know about it is about a year old.
> 
> http://java.sun.com/products/jndi/tutorial/ldap/index.html
> was one of the references I used. Unfortunately I do
> not have my sample code available to me at the moment
> :/
> 
> Dave
> 

I wonder if the OP has considered the container managed security? For
Tomcat, using LDAP for authentication/authorization is quite easy - 

http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JNDIRealm

It might save some coding time if you can fit your problem into this
solution.

-Wes

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to