Package org.nxplanner.security

Examples of org.nxplanner.security.LoginModule.changePassword()


        String newPassword = personForm.getNewPassword();
        if (StringUtils.isNotEmpty(newPassword)) {
            LoginModule loginModule = AuthenticatorImpl.getLoginModule(request);
            if (loginModule != null) {
                try {
                    loginModule.changePassword(personForm.getUserId(), personForm.getNewPassword());
                } catch (AuthenticationException e) {
                    throw new ServletException(e);
                }
            }
        }
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.