----- Original Message -----
From: "Dan Diephouse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 10:39 AM
Subject: Re: WebDAV Client libs


> Not the answer I wanted to hear :)
>
> So, lets say hypothetically that I want slide to delegate authentication
from
> somewhere else, is this at all feasible?  For example, I have a
Apache-Turbine
> application which has its own authentication mechanism.  Is it possible to
> rewrite some of the slide code to support authentication through Turbine's
> means? Say I'm logged in in my application, could I rewrite slide to carry
over
> those credentials from that session?  It would be cool if slide had
pluggable
> authentication - LDAP, servlet container, etc.... Or is the servlet
container
> the only authentication method possible?
>
> Does this make any sense to you???  I haven't really looked at the code
yet for
> the server end of slide, so I am very uniformed...

Sure it does, and I think it's doable, but not the way you suggest it.

I don't think it's a good idea to implement some pluggability on some
services like authentication inside the servlet itself. That would make it
bigger and less portable (not good). Instead, it uses as many services
provided by the container as possible, because these are pluggable. You
should plug your auth mechanism at the container level, and it's easy to do
with Tomcat (either 3 or 4).

That's what I do with the Slide realm and Catalina. Using that real enables
you to authenticate users defined inside the Slide namespace, so you don't
have to add users twice (once in the real, once in the Slide namespace).

Remy

Reply via email to