Package com.skava.service.impl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess
(UserCredentialsRequest request) This service is used to update password for the requested ACTIVE user.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator, getValidator
-
Constructor Details
-
UserCheckUpdatePasswordServiceImpl
public UserCheckUpdatePasswordServiceImpl()Default Constructor.
-
-
Method Details
-
process
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 interfacecom.skava.core.EcommService<UserCredentialsRequest,
UsersResponse> - Parameters:
request
- HoldsUserCredentialsRequest
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.
-