Package com.skava.service.impl
Class ValidateMFAServiceImpl
java.lang.Object
com.skava.service.impl.ValidateMFAServiceImpl
@Service
@Transactional(propagation=REQUIRED,
readOnly=false,
noRollbackFor=com.skava.core.validation.ValidateException.class)
public class ValidateMFAServiceImpl
extends Object
This service class implements UserCheckAuthService and handles the user service Validating MFA login request,
process it and save the details in DB. It also implements business logic required to validate login MFA OTP.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionValidateMFAServiceImpl
(UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) Default Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validateMfaOtpAndToken
(UserRequest request, Collection collection, long userId) This method used to validate login token and OTP
-
Constructor Details
-
ValidateMFAServiceImpl
@Autowired public ValidateMFAServiceImpl(UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) Default Constructor.
-
-
Method Details
-
validateMfaOtpAndToken
This method used to validate login token and OTP- Parameters:
request
- HoldsUserRequest
to validate login token and OTP.collection
- HoldsCollection
to load properties for this collection id.userId
- Indicates the user id which is used to validate login token and OTP.
-