On Tue, Aug 18, 2009 at 9:08 PM, Kandarp Desai<[email protected]> 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
