Examples of PwdLog


Examples of com.iisigroup.cap.auth.model.PwdLog

        return rlSet;
    }// ;

    private void createUserPwdHistory(String userCode, String encodedPassword) {
        if (!StringUtils.isBlank(encodedPassword)) {
            PwdLog h = new PwdLog();
            h.setUserCode(userCode);
            h.setPassword(encodedPassword);
            h.setUpdateTime(CapDate.getCurrentTimestamp());
            userPwdHistoryDao.save(h);
        }
    }// ;
View Full Code Here

Examples of com.iisigroup.cap.auth.model.PwdLog

                .getTime()));
        user.setPassword(pwdHash);
        user.setStatus("0");
        userDao.save(user);
        // insert pwd history
        PwdLog uph = new PwdLog();
        uph.setUserCode(user.getCode());
        uph.setPassword(pwdHash);
        uph.setUpdateTime(new Timestamp(now.getTime()));
        userPwdHistoryDao.save(uph);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.