Package com.iisigroup.cap.auth.model

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


                .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

Related Classes of com.iisigroup.cap.auth.model.PwdLog

Copyright © 2018 www.massapicom. 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.