Uses of Class
com.skava.service.impl.CollectionCommonServices
Packages that use CollectionCommonServices
Package
Description
This package contains the user Helper classes.
This package contains the user DTO model classes.
This package contains the user service authenticator definition class.
This package contains the user service implementation classes.
This package contains the user service authenticator implementation class.
This package holds the user util method classes.
-
Uses of CollectionCommonServices in com.skava.helper
Methods in com.skava.helper with parameters of type CollectionCommonServicesModifier and TypeMethodDescriptionstatic int
UserPasswordCriteriaHelper.getPasswordLimt
(long collectionId, CollectionCommonServices collectionCommonServices, List<CollectionAttributeEntity> collectionAttributes) This method is used to load password limit value from DB.static boolean
UserPasswordHelper.isPasswordBlacklisted
(String password, long collectionId, CollectionCommonServices collectionCommonServices, boolean isValidPassword) This method is used to validate whether the password is blacklisted or not.static boolean
UserPasswordHelper.isValidPassword
(String password, String validatorClass, String validatorConfig, Map<String, String> propMap, long collectionId, CollectionCommonServices collectionCommonServices) This method is used to validate whether the password is valid or not.static UsersResponse
UserPasswordHelper.updatePassword
(UserCommonServices userCommonServices, long userId, String password, String locale, Map<String, String> propMap, long collectionId, CollectionCommonServices collectionCommonServices) This method is used to update user password in DB, Password is validated and then saved in DB, current password is set as old password and new password is saved in DB if old password exists.static UsersResponse
UserPasswordHelper.validatePasswordIntervalAndLimit
(UserCommonServices userCommonServices, long userId, String password, String locale, Map<String, String> propMap, long collectionId, CollectionCommonServices collectionCommonServices) Represents the response returned by the UserPasswordHelper.validatePasswordIntervalAndLimit method. -
Uses of CollectionCommonServices in com.skava.model.datatransferobjects
Methods in com.skava.model.datatransferobjects with parameters of type CollectionCommonServicesModifier and TypeMethodDescriptionboolean
Credentials.isValidPassword
(String validatorClass, String validatorConfig, Map<String, String> propMap, long collectionId, CollectionCommonServices collectionCommonServices) -
Uses of CollectionCommonServices in com.skava.service.authenticator
Methods in com.skava.service.authenticator with parameters of type CollectionCommonServicesModifier and TypeMethodDescriptiondefault AuthenticatedUser
UserAuthenticatorService.authenticate
(UserAuthRequest request, AuthenticationConfig config, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, com.skava.core.event.EventClientComponent eventClientComponent) This method is used to authenticate the given credentials.default boolean
UserAuthenticatorService.checkPasswordExpiry
(UserAuthRequest request, CollectionCommonServices collectionCommonServices, UserCommonServices userCommonServices, AuthenticationConfig authenticationConfig) -
Uses of CollectionCommonServices in com.skava.service.impl
Subclasses of CollectionCommonServices in com.skava.service.implModifier and TypeClassDescriptionclass
This service class encapsulates all required services of User micro service.Methods in com.skava.service.impl with parameters of type CollectionCommonServicesModifier and TypeMethodDescriptionCreateUserOTPActivationServiceImpl.generatOTPForSignUpMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, Collection collection, UsersEntity userEntity, CollectionCommonServices collectionCommonServices, boolean isResendOTP, boolean isResetOTP, int resendCount) This method is used to generate OTP andactivationParamConstructors in com.skava.service.impl with parameters of type CollectionCommonServicesModifierConstructorDescriptionUserCheckAuthServiceImpl
(CollectionCommonServices collectionCommonServices) Default ConstructorValidateMFAServiceImpl
(UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) Default Constructor. -
Uses of CollectionCommonServices in com.skava.service.impl.authenticator
Methods in com.skava.service.impl.authenticator with parameters of type CollectionCommonServicesModifier and TypeMethodDescriptionCustomUserAuthenticatorServiceImpl.authenticate
(UserAuthRequest request, AuthenticationConfig authenticationConfig, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, com.skava.core.event.EventClientComponent eventClientComponent) This method is used to authenticate the given credentials by default authenticator.DefaultUserAuthenticatorServiceImpl.authenticate
(UserAuthRequest request, AuthenticationConfig authenticationConfig, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, com.skava.core.event.EventClientComponent eventClientComponent) This method is used to authenticate the given credentials by default authenticator.boolean
DefaultUserAuthenticatorServiceImpl.checkPasswordExpiry
(UserAuthRequest request, CollectionCommonServices collectionCommonServices, UserCommonServices userCommonServices, AuthenticationConfig authenticationConfig) This method is used to check password is expiry or not in MFA Flow -
Uses of CollectionCommonServices in com.skava.util
Methods in com.skava.util with parameters of type CollectionCommonServicesModifier and TypeMethodDescriptionstatic String
UserLoginMFAUtil.generateLoginTokenAndOTPForLoginMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, UserAuthRequest request, Collection collection, UsersEntity userEntity, com.skava.core.event.EventClientComponent eventClientComponent, CollectionCommonServices collectionCommonServices) This method is used to generate login OTP and login Token which is used for MFA login.static String
UserUpdateMFAUtil.generateTokenAndOTPForMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, UserRequest request, Collection collection, Users user, com.skava.core.event.EventClientComponent eventClientComponent, CollectionCommonServices collectionCommonServices) This method is used to generate OTP and Token which is used for MFA .static String
UserUpdateMFAUtil.generateTokenAndOTPForMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, UserRequest request, Collection collection, Users user, com.skava.core.event.EventClientComponent eventClientComponent, CollectionCommonServices collectionCommonServices, String routingKey) This method is used to generate OTP and Token which is used for MFA .static UsersEventPayLoad
UserNotificationUtil.getRequiredParamsForEvent
(boolean inviteUserFlag, List<CollectionAttributeEntity> collectionAttributes, Collection collection, CollectionCommonServices collectionCommonServices, boolean isLoadCollectionProperties) This method is used to get required params for event.static String
CreateUserUtil.getUserActivationMethodFromCollection
(Collection collection, CollectionCommonServices collectionCommonServices) This method is used to get user activation method from collection.static boolean
UserUtil.isMFAEnabledFor
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, String name) isMFAEnabledFor method will fetch the list of process that allows MFA , i.e. login/signup/updatestatic String
UserAuthUtil.loadEnableUserMergeValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method is used to load collection property value from DBstatic String
UserUtil.loadEnableUserMergeValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method is used to load collection property value from DBstatic int
UserAuthUtil.loadFailMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic int
UserUtil.loadFailMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic String
UserAuthUtil.loadMFAValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, String name) This method is used to load collection property value from DBstatic String
UserUtil.loadMFAValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, String name) This method is used to load collection property value from DBstatic int
UserLoginMFAUtil.loadRecentOTPFromCollectionProperties
(Collection collection, CollectionCommonServices collectionCommonServices, UserCommonServices userCommonServices) This method is used to load Recent OTP value count from database for the given collection.static int
UserAuthUtil.loadResendMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic int
UserUtil.loadResendMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic void
UserNotificationUtil.sendingNotificationForUser
(com.skava.core.event.EventClientComponent eventClientComponent, String authToken, long collectionId, CollectionCommonServices collectionCommonServices, UsersEntity usersEntity) This method is used to send Notification in invite user.static void
UserAuthUtil.triggerLockedStatusEmail
(UserAuthRequest request, CollectionCommonServices collectionCommonServices, com.skava.core.event.EventClientComponent clientComponent, Optional<UsersEntity> user) triggerLockedStatusEmail - This method is used to trigger email notification for locked status.