On Fri, Sep 18, 2009 at 6:24 PM, Jonathan Bishop
<[email protected]> wrote:
> I have an Embedded FTP server (ftpserver-core-1.0.2) and I can't figure out
> how to disable Anonymous access. I've tried to follow how the non-embedded
> version, but I get lost in a field of BeanDefinitions. Anybody know how to
> disable it?
Something like this should do the work:
ConnectionConfigFactory ccf = new ConnectionConfigFactory();
ccf.setAnonymousLoginEnabled(false);
serverFactory.setConnectionConfig(ccf.createConnectionConfig());
/niklas