9293949596979899100101102
if (entryPass.equalsIgnoreCase(oldPass)){ entry.setPasswordValue(newPass); entry.setModified(true); entry.setNew(false); entry.save(); myUser.setPassword(newPass); }else{
104105106107108109110111112113114
} Connection conn = Transaction.begin(TurbineUserPeer.DATABASE_NAME); boolean success = false; try { entry.save(conn); int usrId=entry.getUserId(); prefs.setUserId(usrId); prefs.save(conn); Transaction.commit(conn); success = true;
161162163164165166167168169170171
Connection conn = Transaction.begin(TurbineUserPeer.DATABASE_NAME); boolean success = false; try { TurbineUserGroupRolePeer.doDelete(crit, conn); entry.save(conn); prefs.save(conn); Transaction.commit(conn); success = true; } finally {