if (sessionUser.getPassword() != null) {
session.replyWithSpace(202, "Already logged-in.");
return;
}
final ServerSettings settings = SettingsHolder.getInstance().getSettings();
final FtpUser user = settings.getUserList().get(sessionUser.getUsername());
// Checking password. For anonymous user it doesn't
// matter what password he has.
if (!param.equals(user.getPassword()) &&
!sessionUser.getUsername().equals("anonymous"))