[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-user
Subject:    Re: LDAP authentication?
From:       "Remy Maucherat" <remm () apache ! org>
Date:       2000-09-20 18:22:30
[Download RAW message or body]

> Has anyone done an interface to LDAP for authentication for WebDAV?

The servlet engine does the authentication, not the WebDAV servlet.
The servlet then calls HttpServletRequest.getUserPrincipal() to get the
authenticated Principal object (if any).
You can use whatever authentication / transport is provided by the servlet
engine : BASIC, BASIC over SSL or TLS, DIGEST, DIGEST over TLS (if you're
paranoid :)), or some other crazy custom protocols (like BXXP).

That means that if you're using Tomcat 4, for example, you need to write an
implementation of Realm which would authenticate principals stored in the
LDAP server.
Tomcat 3 has a similar mechanism based on interceptors
(org.apache.tomcat.request.SimpleRealm).

Remy

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic