Package org.apache.roller.pojos

Examples of org.apache.roller.pojos.UserData.resetPassword()


            ud.setEnabled(Boolean.TRUE);
           
            // If user set both password and passwordConfirm then reset password
            if (    !StringUtils.isEmpty(form.getPasswordText())
            && !StringUtils.isEmpty(form.getPasswordConfirm())) {
                ud.resetPassword(RollerFactory.getRoller(),
                        form.getPasswordText(), form.getPasswordConfirm());
            }
           
            // save new user
            mgr.addUser(ud);
View Full Code Here


               
                // If user set both password and passwordConfirm then reset password
                if (    !StringUtils.isEmpty(form.getPasswordText())
                && !StringUtils.isEmpty(form.getPasswordConfirm())) {
                    try {
                        data.resetPassword(RollerFactory.getRoller(),
                                form.getPasswordText(),
                                form.getPasswordConfirm());
                    } catch (RollerException e) {
                        msgs.add(ActionMessages.GLOBAL_MESSAGE,
                                new ActionMessage("yourProfile.passwordResetError"));
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.