You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Parashar, Hitesh" <Hi...@Avnet.com> on 2001/11/01 20:53:53 UTC

Tomcat 4.0 and HTTP BASIC auth using LDAP (Netscape Directory Ser ver)

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:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat 4.0 and HTTP BASIC auth using LDAP (Netscape Directory Server)

Posted by Jonathan Eric Miller <je...@uchicago.edu>.
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" <Hi...@Avnet.com>
To: <to...@jakarta.apache.org>
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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat 4.0 and HTTP BASIC auth using LDAP (Netscape Directory Ser ver)

Posted by Chris Cayetano <de...@mail.ccayetano.com>.
Hello.

Trying using this module, mod_auth_ldap, and it's located at: 
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
It works pretty good.

I'm using on Apache 1.3.2 and Tomcat 3.2.3 on a windows 2000 server. You'll 
have to setup the directory to use basic auth. Once logged in, the 
RemoteUser variable will contain the authenticated user.

Chris


At 12:53 PM 11/1/2001 -0700, Parashar, Hitesh wrote:
>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:   <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>