Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 69864 invoked from network); 7 Nov 2001 17:31:35 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 7 Nov 2001 17:31:35 -0000 Received: (qmail 13457 invoked from network); 7 Nov 2001 17:34:05 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 7 Nov 2001 17:34:05 -0000 Received: (qmail 4927 invoked by uid 97); 7 Nov 2001 17:30:53 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 4906 invoked by uid 97); 7 Nov 2001 17:30:51 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 4893 invoked from network); 7 Nov 2001 17:30:51 -0000 Message-ID: <003b01c167b1$f127bc30$4f638780@secns.uchicago.edu> From: "Jonathan Eric Miller" To: "Tomcat Users List" References: Subject: Re: Tomcat 4.0 and HTTP BASIC auth using LDAP (Netscape Directory Server) Date: Wed, 7 Nov 2001 11:30:49 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 07 Nov 2001 17:30:49.0587 (UTC) FILETIME=[F127BC30:01C167B1] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can probably use JNDIRealm to do this. However, there are a few issues with the current implementation having to do with the password formats that are supported. Basically, you have to have the passwords in the directory stored as clear-text, or as a hash supported by Tomcat and if I remember correctly the hash has to be stored as a hex string rather than a base64 encoded string. I've tried it with Tomcat 4 in standalone mode and it works. I haven't tried it with using Apache Web Server. I think if you use mod_webapp, it will work. Jon ----- Original Message ----- From: "Parashar, Hitesh" To: Sent: Thursday, November 01, 2001 1:53 PM Subject: Tomcat 4.0 and HTTP BASIC auth using LDAP (Netscape Directory Server) > Hi: > > We have our existing application running on iPlanet that uses the Netscape > LDAP implementation. We want to migrate that application to Tomcat 4.0 / > Apache. Is there any How-To for establishing HTTP basic auth with LDAP using > Tomcat 4.0/Apache 1.3? > > TIA, > > Hitesh. > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > -- To unsubscribe: For additional commands: Troubles with the list: