01: package com.coldcore.coloradoftp.session;
02:
03: /**
04: * User login state.
05: * This is used by FTP commands to query user's login state.
06: *
07: * Once user logs in he/she is assigned a proper login state which must not
08: * be removed from the session ever (even after QUIT command).
09: * The only way to clear login state is to disconnect a control connection.
10: *
11: *
12: * ColoradoFTP - The Open Source FTP Server (http://cftp.coldcore.com)
13: */
14: public enum LoginState {
15: ANONYMOUS, //Anonymous login
16: REGULAR
17: //Regular registered user
18: }
|