JNDI has a naming API that allows Java applications to access naming systems
like CORBA's Naming services and a directory API that extends the naming
service to provide access to directory services like LDAP. You can take a
look at Tomcat's JNDIRealm.

There is also a recently submitted proposal for a LDAPRealm implementation
in Tomcat 4.0.

Justy

----- Original Message -----
From: "Marc J. Boerma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 2:59 AM
Subject: LDAP / TOMCAT / AUTHENTICATION


> I've build a site where based on the user's role he will see a different
> look. I used the standard authentication meganism that's defined in the
> Servlet API. Tomcat has a tomcat-users.xml file where you define the users
> id, passwords and their roles. I found an article how I can use a database
> where I can put this information in. In the server.xml file of tomcat I
then
> can define that I want to use a database for authentication.
>
> My Question:
>
> I don't want to put userid / password into a database, instead I want
Tomcat
> to use our LDAP server in order to authenticate users. Where can I find
> information about this?
>
> Thanks,
>
> Marc
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to