Class UserCheckUpdatePasswordServiceImpl

java.lang.Object
com.skava.service.impl.UserCheckUpdatePasswordServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<UserCredentialsRequest,UsersResponse>, UserCheckUpdatePasswordService

@Service public class UserCheckUpdatePasswordServiceImpl extends Object implements UserCheckUpdatePasswordService
  • Constructor Details

    • UserCheckUpdatePasswordServiceImpl

      public UserCheckUpdatePasswordServiceImpl()
      Default Constructor.
  • Method Details

    • process

      public UsersResponse process(UserCredentialsRequest request)
      This service is used to update password for the requested ACTIVE user. After validating the old password of the requested user from the database with the old password mentioned in the request, the password given in the request will get updated for the requested user. If the old password is not given in the request, without validating the old password the password will get updated.
      Specified by:
      process in interface com.skava.core.EcommService<UserCredentialsRequest,UsersResponse>
      Parameters:
      request - Holds UserCredentialsRequest object which holds user credentials request for updating an user password.
      Returns:
      The UsersResponse object which returns the success response code and message and if any validations fails, throws an validate exception.