Home | History | Annotate | Download | only in command

Lines Matching defs:session

20 import org.mockftpserver.core.session.Session;

21 import org.mockftpserver.core.session.SessionKeys;
30 * current directory in the session, and reply with 230</li>
31 * <li>Otherwise, set the username in the session and reply with 331</li>
39 protected void handle(Command command, Session session) {
44 if (!validateUserAccount(username, session)) {
50 login(userAccount, session, ReplyCodes.USER_LOGGED_IN_OK, "user.loggedIn");
54 session.setAttribute(SessionKeys.USERNAME, username);
55 sendReply(session, ReplyCodes.USER_NEED_PASSWORD_OK, "user.needPassword");