Package org.jresearch.gossip.forms

Examples of org.jresearch.gossip.forms.FogotPasswordForm


        // Extract attributes we will need
        HttpSession session = request.getSession();
        ActionErrors errors = new ActionErrors();
        UserDAO userDAO = UserDAO.getInstance();

        FogotPasswordForm fpForm = (FogotPasswordForm) form;

        try {

            User updateduser = userDAO.setNewPassword(fpForm.getEmail(),
                    fpForm.getUid());

            if (updateduser.getStatus() == 0) {
                errors.add(ActionErrors.GLOBAL_ERROR,
                    new ActionError("user.EMERROR"));
            } else {
View Full Code Here

TOP

Related Classes of org.jresearch.gossip.forms.FogotPasswordForm

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.