Class LdapDataStore
- java.lang.Object
-
- io.mosip.kernel.auth.defaultimpl.repository.impl.LdapDataStore
-
- All Implemented Interfaces:
DataStore
@Component @Deprecated public class LdapDataStore extends Object implements DataStore
Deprecated.- Author:
- Ramadurai Pandian
-
-
Constructor Summary
Constructors Constructor Description LdapDataStore()Deprecated.LdapDataStore(DataBaseProps dataBaseConfig)Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
LdapDataStore
public LdapDataStore()
Deprecated.
-
LdapDataStore
public LdapDataStore(DataBaseProps dataBaseConfig)
Deprecated.
-
-
Method Detail
-
authenticateUser
public MosipUserDto authenticateUser(LoginUser loginUser) throws Exception
Deprecated.- Specified by:
authenticateUserin interfaceDataStore- Throws:
Exception
-
authenticateWithOtp
public MosipUserDto authenticateWithOtp(OtpUser otpUser) throws Exception
Deprecated.- Specified by:
authenticateWithOtpin interfaceDataStore- Throws:
Exception
-
authenticateUserWithOtp
public MosipUserDto authenticateUserWithOtp(UserOtp userOtp) throws Exception
Deprecated.- Specified by:
authenticateUserWithOtpin interfaceDataStore- Throws:
Exception
-
authenticateWithSecretKey
public MosipUserDto authenticateWithSecretKey(ClientSecret clientSecret) throws Exception
Deprecated.- Specified by:
authenticateWithSecretKeyin interfaceDataStore- Throws:
Exception
-
getLoginDetails
public MosipUserDto getLoginDetails(LoginUser loginUser) throws Exception
Deprecated.- Throws:
Exception
-
getAllRoles
public RolesListDto getAllRoles(String appId)
Deprecated.- Specified by:
getAllRolesin interfaceDataStore
-
getListOfUsersDetails
public MosipUserListDto getListOfUsersDetails(List<String> users, String appId) throws Exception
Deprecated.- Specified by:
getListOfUsersDetailsin interfaceDataStore- Throws:
Exception
-
getAllUserDetailsWithSalt
public MosipUserSaltListDto getAllUserDetailsWithSalt(List<String> userDetails, String appId) throws Exception
Deprecated.- Specified by:
getAllUserDetailsWithSaltin interfaceDataStore- Throws:
Exception
-
getRidFromUserId
public RIdDto getRidFromUserId(String userId, String appId) throws Exception
Deprecated.- Specified by:
getRidFromUserIdin interfaceDataStore- Throws:
Exception
-
unBlockAccount
public AuthZResponseDto unBlockAccount(String userId) throws Exception
Deprecated.- Specified by:
unBlockAccountin interfaceDataStore- Throws:
Exception
-
changePassword
public AuthZResponseDto changePassword(PasswordDto passwordDto)
Deprecated.- Specified by:
changePasswordin interfaceDataStore
-
resetPassword
public AuthZResponseDto resetPassword(PasswordDto passwordDto)
Deprecated.- Specified by:
resetPasswordin interfaceDataStore
-
getUserNameBasedOnMobileNumber
public UserNameDto getUserNameBasedOnMobileNumber(String mobileNumber) throws Exception
Deprecated.- Specified by:
getUserNameBasedOnMobileNumberin interfaceDataStore- Throws:
Exception
-
registerUser
public MosipUserDto registerUser(UserRegistrationRequestDto userCreationRequestDto)
Deprecated.- Specified by:
registerUserin interfaceDataStore
-
addPassword
public UserPasswordResponseDto addPassword(UserPasswordRequestDto userPasswordRequestDto)
Deprecated.- Specified by:
addPasswordin interfaceDataStore
-
getUserRoleByUserId
public MosipUserDto getUserRoleByUserId(String username) throws Exception
Deprecated.- Specified by:
getUserRoleByUserIdin interfaceDataStore- Throws:
Exception
-
getUserDetailBasedonMobileNumber
public MosipUserDto getUserDetailBasedonMobileNumber(String mobileNumber) throws Exception
Deprecated.- Specified by:
getUserDetailBasedonMobileNumberin interfaceDataStore- Throws:
Exception
-
validateUserName
public ValidationResponseDto validateUserName(String userId)
Deprecated.- Specified by:
validateUserNamein interfaceDataStore
-
getUserDetailBasedOnUid
public UserDetailsResponseDto getUserDetailBasedOnUid(List<String> userIds)
Deprecated.- Specified by:
getUserDetailBasedOnUidin interfaceDataStore
-
getPagenatedMap
public Map<Object,Object> getPagenatedMap(List<UserDetailsDto> list, int pageSize)
Deprecated.TBD pagenation- Parameters:
list-pageSize-- Returns:
-
-