mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kandarp Desai <kandarp.apache.m...@gmail.com>
Subject Re: Authenticating via LDAP
Date Thu, 20 Aug 2009 00:28:37 GMT
Thanks Niklas.I made the changes accordingly and seems to be working fine.
Please, let me know if anyone need reference for the code.

Regards.
Kandarp Desai

On Tue, Aug 18, 2009 at 12:15 PM, Niklas Gustavsson <niklas@protocol7.com>wrote:

> On Tue, Aug 18, 2009 at 9:08 PM, Kandarp
> Desai<kandarp.apache.mina@gmail.com> wrote:
> > I want to know how can I write my customer user manager(may be simple
> > example)? I want to use crowd LDAP connector. So, I may be able to use
> those
> > crowd API. But, don't know how to use them with Ftpserver?
>
> I don't know much about Crowd. As for using LDAP directly, it should
> be fairly easy to get the basics going, setting up a custom user
> manager implementation that tries to bind as the user when
> authenticating. Then, you could populate the BaseUser instance from
> the LDAP attributes on the user (you might have to add some extra in
> your LDAP server, or get them somehow different, like the users home
> folder).
>
> Have a look at the existing user managers for property files and
> databases. I think it should be pretty straight forward to changing
> them into using LDA instead..
>
> > What changes are required in configuration file.
>
> As noted before, you need to use the Spring "bean" syntax.
>
> http://static.springsource.org/spring/docs/2.5.x/reference/beans.html#beans-definition
>
> > Also, I read
> > http://incubator.terra-intl.com/projects/ftpserver/ldap_conf.html page.
>
> That's a very old version of our site. We previously had an
> LdapUserManager, but since it behaved in ways which would not be
> expected by most users and no one signed up to maintain it, it was
> removed. I would not recommend it for starting out your custom user
> manager.
>
> /niklas
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message