|
FTP Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Object | +--Authenticate
| Constructor Summary | |
Authenticate()
|
|
| Method Summary | |
abstract boolean |
authorize(String name,
String password,
String configDir,
LogMsg log)
Authenticate somehow. |
abstract int |
getTimeout()
Get the session timeout. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Authenticate()
| Method Detail |
public abstract boolean authorize(String name,
String password,
String configDir,
LogMsg log)
name - Entity name.password - Entity password.configDir - Configuration directory for the FTP server.log - Log object. Usage: log.logMsg(String msg).
The server prepends the thread name to the message to track sessions.
You can do this by log.logMsg(Thread.currentThread().getName() + msg);
public abstract int getTimeout()
|
FTP Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||