Package com.brienwheeler.svc.users

Examples of com.brienwheeler.svc.users.ForgottenPasswordData


    @GracefulShutdown
  public boolean sendForgottenPasswordEmail(EmailAddress emailAddress)
  {
    ValidationUtils.assertNotNull(emailAddress, "emailAddress cannot be null");
   
    ForgottenPasswordData verificationData = doGetForgottenPasswordData(emailAddress);
    if (verificationData == null)
      return false;
   
    Map<String,Object> templateModel = new HashMap<String,Object>();
    templateModel.put("verificationData", verificationData);
View Full Code Here


  {
    User user = userEmailAddressService.findByEmailAddress(emailAddress);
    if (user == null)
      return null;
    long expiration = new DateTime().plus(expirationPeriod).getMillis();
    return new ForgottenPasswordData(emailAddress, expiration, getSignature(emailAddress, expiration));
  }
View Full Code Here

TOP

Related Classes of com.brienwheeler.svc.users.ForgottenPasswordData

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.