Package com.sparc.knappsack.components.events.composits

Examples of com.sparc.knappsack.components.events.composits.UserPasswordResetComposite


                userService.updateSecurityContext(updatedUser);

                success = true;

                if (isTempPassword) {
                    EventComposite composite = new UserPasswordResetComposite(password);
                    EventDeliveryWithComposite deliveryMechanism = eventDeliveryWithCompositeFactory.getEventDelivery(EventType.USER_PASSWORD_RESET);
                    if (deliveryMechanism != null) {
                        boolean notificationSent = deliveryMechanism.sendNotifications(updatedUser, composite);
                        if (!notificationSent) {
                            log.info(String.format("Password reset email not sent to: %s", updatedUser.getEmail()));
View Full Code Here

TOP

Related Classes of com.sparc.knappsack.components.events.composits.UserPasswordResetComposite

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.