org.apache.ftpserver
Interface ConnectionConfig

All Known Implementing Classes:
DefaultConnectionConfig

public interface ConnectionConfig

Interface for providing the configuration for the control socket connections.

Author:
Apache MINA Project

Method Summary
 int getLoginFailureDelay()
          The delay in number of milliseconds between login failures.
 int getMaxAnonymousLogins()
          The maximum number of time an anonymous user can fail to login before getting disconnected
 int getMaxLoginFailures()
          The maximum number of time an user can fail to login before getting disconnected
 int getMaxLogins()
          The maximum number of concurrently logged in users
 int getMaxThreads()
          Returns the maximum number of threads the server is allowed to create for processing client requests.
 boolean isAnonymousLoginEnabled()
          Is anonymous logins allowed at the server?
 

Method Detail

getMaxLoginFailures

int getMaxLoginFailures()
The maximum number of time an user can fail to login before getting disconnected

Returns:
The maximum number of failure login attempts

getLoginFailureDelay

int getLoginFailureDelay()
The delay in number of milliseconds between login failures. Important to make brute force attacks harder.

Returns:
The delay time in milliseconds

getMaxAnonymousLogins

int getMaxAnonymousLogins()
The maximum number of time an anonymous user can fail to login before getting disconnected

Returns:
The maximum number of failer login attempts

getMaxLogins

int getMaxLogins()
The maximum number of concurrently logged in users

Returns:
The maximum number of users

isAnonymousLoginEnabled

boolean isAnonymousLoginEnabled()
Is anonymous logins allowed at the server?

Returns:
true if anonymous logins are enabled

getMaxThreads

int getMaxThreads()
Returns the maximum number of threads the server is allowed to create for processing client requests.

Returns:
the maximum number of threads the server is allowed to create for processing client requests.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.