On Wed, Dec 3, 2008 at 3:18 PM, Lourdais Olivier <[EMAIL PROTECTED]> wrote: > I get the FTP Server sources this morning, to check the fix before the > M4 release. > It works fine for me, but I wonder if I use it as it should: in my > Spring configuration file, I have: > <file-user-manager file="" encrypt-passwords="true" />
You should be able to remove the file attribute. This is not possible with the published schema, but will be possible in the M4 schema that will be published when M4 is released. > Another point: I see that some classes have been moved to *.impl > packages, and that FtpServer interface doesn't give access to the > FtpServerContext object anymore. > I need it (to get the Listener, in order to close active sessions from > the server side, and to get the UserManager, in order to create FTP > users on the fly) so I cast the FtpServer object to DefaultFtpServer, > but I don't think it's clean. > Is there a better way to get the FtpServerContext, without casting? As long as your not using OSGi, you will still be able to access these classes. However, the notation that they are internal should give you a warning that we will change them, possibly in non backwards compatible ways in future releases. If there are things you find beneficial to have in the public API, feel free to open a JIRA issue. /niklas
