113,10 → 113,13 |
} |
|
logger.warn("user:" + username + " authenticated"); |
|
((UserSessionImpl)userSession).reset(); |
((UserSessionImpl)userSession).clearObjectsWithOpenTransaction(); |
DaoFactory.getUserSessionDaoImpl().flush(); |
|
//PASSWORD PARA SERVICOS FTP CLIENT |
((UserSessionImpl)userSession).put(FtpService.FTP_PASSWORD, DesUtils.getInstance().encrypt(password)); |
((UserSessionImpl) userSession).put(FtpService.FTP_PASSWORD, DesUtils.getInstance().encrypt(password)); |
//put password to be complete for advising |
userSession.setName(u.getName()); |
userSession.setUsername(u.getUsername()); |