| java.lang.Object java.util.Observable net.sf.drftpd.master.config.FtpConfig
All known Subclasses: org.drftpd.tests.DummyFtpConfig,
FtpConfig | public class FtpConfig extends Observable implements ConfigInterface(Code) | | author: mog version: $Id: FtpConfig.java 1593 2007-01-31 22:56:52Z zubov $ |
Method Summary | |
public void | addPathPermission(String key, PathPermission permission) | public boolean | checkPathPermission(String key, User fromUser, LinkedRemoteFileInterface path) | public boolean | checkPathPermission(String key, User fromUser, LinkedRemoteFileInterface path, boolean defaults) | public boolean | checkPermission(String key, User user) | public void | directoryMessage(Reply response, User user, LinkedRemoteFileInterface dir) | public List | getBouncerIps() | public float | getCreditCheckRatio(LinkedRemoteFileInterface path, User fromUser) | public float | getCreditCheckRatio(String path, User fromUser) | public float | getCreditLossRatio(LinkedRemoteFileInterface path, User fromUser) | public String | getDirName(String name) | public String | getFileName(String name) | public GlobalContext | getGlobalContext() | public boolean | getHideIps() | public String | getLoginPrompt() | public int | getMaxUsersExempt() | public int | getMaxUsersTotal() | public String | getPasvAddress() | public PortRange | getPortRange() | public boolean | isLoginAllowed(User user) Returns true if user is allowed into a shutdown server. | public void | loadConfig(Properties cfg, GlobalContext gctx) | protected void | loadConfig1(Properties cfg) | protected void | loadConfig2(Reader in2) | public static ArrayList<String> | makeUsers(Enumeration st) |
FtpConfig | protected FtpConfig()(Code) | | |
getBouncerIps | public List getBouncerIps()(Code) | | Returns the bouncerIp. |
getCreditCheckRatio | public float getCreditCheckRatio(String path, User fromUser)(Code) | | |
getHideIps | public boolean getHideIps()(Code) | | |
getMaxUsersExempt | public int getMaxUsersExempt()(Code) | | |
getMaxUsersTotal | public int getMaxUsersTotal()(Code) | | |
isLoginAllowed | public boolean isLoginAllowed(User user)(Code) | | Returns true if user is allowed into a shutdown server.
|
|
|