Package fr.ippon.tatami.web.rest.dto

Examples of fr.ippon.tatami.web.rest.dto.UserPassword


        String domain = DomainUtil.getDomainFromLogin(currentUser.getLogin());
        if (userService.isDomainHandledByLDAP(domain)) {
            response.setStatus(HttpServletResponse.SC_FORBIDDEN);
            return null;
        } else {
            return new UserPassword();
        }
    }
View Full Code Here


            currentUser.setPassword(userPassword.getNewPassword());

            userService.updatePassword(currentUser);

            log.debug("User password updated : {}", currentUser);
            return new UserPassword();
        } catch (Exception e) {
            response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
            return null;
        }
    }
View Full Code Here

TOP

Related Classes of fr.ippon.tatami.web.rest.dto.UserPassword

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.