On Mon, Oct 13, 2008 at 7:00 PM, Phlogiston Eight <[EMAIL PROTECTED]> wrote: > Where is FTPServer getting the valid admin username and password, which > allows it to authenticate the admin at login?
if using the PropertiesUserManager, it get's it from a properties file (that it might have generated itself if you have turned on the feature to generate users). If using the DbUserManager it uses a database. There is no other way unless you wrote your own user manager. Please post you configuration to get further help. > So how does it know this--alone--is the correct password? I see a > "user.gen" file--but the comments in this describe it as a "file generated by > FTPServer". In other words--we are not supplying it. Then I'm guessing you're running with the flag to create the default users. > Also, if anyone out there has successfully created a Listener for FTPServer > within the Spring config file for SSL, could you please post a copy of that > section of your Spring config (xml) file. In the included docs, I have found > now about 4 different formats given as examples for a Spring config file. > Each uses different tag names and a different syntax and as always, no > English explanation for anything. There is an example available in the FtpServer project itself: http://svn.apache.org/repos/asf/mina/ftpserver/trunk/core/src/examples/resources/spring-config/config-typical.xml You can find documentation for all elements here: http://mina.apache.org/ftpserver/listeners.html And don't hesitate to ask further if there is anything unclear in the example or documentation. I'll also be happy to produce further examples if you have a specific use case. And, as I wrote above, please provide your configuration if you have questions about it. /niklas
