On Mon, Aug 18, 2008 at 3:41 PM, David Latorre <[EMAIL PROTECTED]> wrote:
> Regarding current FTPLet behaviour, it seems that the "init(FtpletContext
> context)" method is not getting called anymore in M2 (or at least latest SVN
> version). Is this the expected behaviour? If it is, is there any other way
> to access FtpletContext ? My onLogin() method  was calling
> "DbUserManager.save()" to save the login time for the user, if I cannot do
> this anymore do you have any suggestions?

I've added a JIRA issue for this and commited a fix, could you please
verify that it works for you?
https://issues.apache.org/jira/browse/FTPSERVER-163

> By the way  , I would like to suggest that UserManagers or "PASS" tried to
> call an external function (implemented through an interface?) to process the
> password before the actual login ( so I can encrypt the password without
> overriding the PASS command).

I would say that this is what a custom user manager is for. You can
try to convince me otherwise but I'll need to understand your use case
a bit better.

/niklas

Reply via email to