Basically you create your own implementation of org.apache.ftpserver.ftplet.UserManager and register it, e.g.
<server xmlns="http://mina.apache.org/ftpserver/spring/v1" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd " id="myServer"> <user-manager> <beans:bean class="org.vfsutils.ftpserver.usermanager.VfsUserManager"> <beans:property name="vfsHomePath" value="/home/${user}"/> </beans:bean> </user-manager> </server> Good luck, Frank > From: [email protected] > Date: Mon, 29 Nov 2010 12:12:32 +0100 > Subject: How add another way to authenticate ? > To: [email protected] > > Hi guys ! > > I need to add another way to authenticate on the FTP server, and i would > like your help to understand where & what add :) > It's very simple. The user enter his mail & password, the server send theses > informations somewhere on the web (like http://www.isitokay.com/signin). The > server analyse the response to the message and if it's a yes, the user is > able to connect to the ftp and to browse his directory. > > So, how i can do that ? I'm just a little lost between all the class, all > the bean so if you can guide me a little, it will help me a lot :) > > Thanks guys, > > Best Regards, > > Simon.
