Class UUIDUserStoreManagerService
- java.lang.Object
-
- org.wso2.carbon.identity.test.integration.service.UUIDUserStoreManagerService
-
public class UUIDUserStoreManagerService extends Object
Admin service to call methods using unique user id. This service currently only used for integration tests.
-
-
Constructor Summary
Constructors Constructor Description UUIDUserStoreManagerService()
-
Method Summary
-
-
-
Method Detail
-
addUserWithID
public UserDTO addUserWithID(String userName, String credential, String[] roleList, ClaimValue[] claims, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
authenticateWithIDLoginIdentifier
public AuthenticationResultDTO authenticateWithIDLoginIdentifier(LoginIdentifierDTO[] loginIdentifiers, String domain, String credential) throws UserStoreException
- Throws:
UserStoreException
-
authenticateWithIDUserId
public AuthenticationResultDTO authenticateWithIDUserId(String userID, String credential) throws UserStoreException
- Throws:
UserStoreException
-
authenticateWithIDUsernameClaim
public AuthenticationResultDTO authenticateWithIDUsernameClaim(String preferredUserNameClaim, String preferredUserNameValue, String credential, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
deleteUserClaimValuesWithID
public void deleteUserClaimValuesWithID(String userID, String[] claims, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
getPasswordExpirationTimeWithID
public Date getPasswordExpirationTimeWithID(String userId) throws UserStoreException
- Throws:
UserStoreException
-
isUserInRoleWithID
public boolean isUserInRoleWithID(String userID, String roleName) throws UserStoreException
- Throws:
UserStoreException
-
listUsersWithOffsetWithID
public UserDTO[] listUsersWithOffsetWithID(String filter, int limit, int offset) throws UserStoreException
- Throws:
UserStoreException
-
getUserListWithOffsetWithID
public UserDTO[] getUserListWithOffsetWithID(String claim, String claimValue, String profileName, int limit, int offset) throws UserStoreException
- Throws:
UserStoreException
-
getUserListWithIDCondition
public UserDTO[] getUserListWithIDCondition(ConditionDTO conditionDTO, String domain, String profileName, int limit, int offset, String sortBy, String sortOrder) throws UserStoreException
- Throws:
UserStoreException
-
getUsersClaimValuesWithID
public UniqueIDUserClaimSearchEntryDAO[] getUsersClaimValuesWithID(String[] userIDs, String[] claims, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
getRoleListOfUsersWithID
public UserRoleListDTO[] getRoleListOfUsersWithID(String[] userIDs) throws UserStoreException
- Throws:
UserStoreException
-
deleteUserClaimValueWithID
public void deleteUserClaimValueWithID(String userID, String claimURI, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
listUsersWithID
public UserDTO[] listUsersWithID(String filter, int maxItemLimit) throws UserStoreException
- Throws:
UserStoreException
-
getUserWithID
public UserDTO getUserWithID(String userID, String[] requestedClaims, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
isExistingUserWithID
public boolean isExistingUserWithID(String userID) throws UserStoreException
- Throws:
UserStoreException
-
getProfileNamesWithID
public String[] getProfileNamesWithID(String userID) throws UserStoreException
- Throws:
UserStoreException
-
getRoleListOfUserWithID
public String[] getRoleListOfUserWithID(String userID) throws UserStoreException
- Throws:
UserStoreException
-
getUserListOfRoleWithID
public UserDTO[] getUserListOfRoleWithID(String roleName) throws UserStoreException
- Throws:
UserStoreException
-
getUserListOfRoleFilteredWithID
public UserDTO[] getUserListOfRoleFilteredWithID(String roleName, String filter, int maxItemLimit) throws UserStoreException
- Throws:
UserStoreException
-
getUserClaimValueWithID
public String getUserClaimValueWithID(String userID, String claim, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
getUserClaimValuesForGivenClaimsWithID
public ClaimValue[] getUserClaimValuesForGivenClaimsWithID(String userID, String[] claims, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
getUserClaimValuesWithID
public ClaimDTO[] getUserClaimValuesWithID(String userID, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
deleteUserWithID
public void deleteUserWithID(String userID) throws UserStoreException
- Throws:
UserStoreException
-
setUserClaimValueWithID
public void setUserClaimValueWithID(String userID, String claimURI, String claimValue, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
setUserClaimValuesWithID
public void setUserClaimValuesWithID(String userID, ClaimValue[] claims, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
getUserListWithID
public UserDTO[] getUserListWithID(String claim, String claimValue, String profileName) throws UserStoreException
- Throws:
UserStoreException
-
updateCredentialWithID
public void updateCredentialWithID(String userID, String newCredential, String oldCredential) throws UserStoreException
- Throws:
UserStoreException
-
updateCredentialByAdminWithID
public void updateCredentialByAdminWithID(String userID, String newCredential) throws UserStoreException
- Throws:
UserStoreException
-
addRoleWithID
public void addRoleWithID(String roleName, String[] userIDList, PermissionDTO[] permissionsDTOs, boolean isSharedRole) throws UserStoreException
- Throws:
UserStoreException
-
updateUserListOfRoleWithID
public void updateUserListOfRoleWithID(String roleName, String[] deletedUserIDs, String[] newUserIDs) throws UserStoreException
- Throws:
UserStoreException
-
updateRoleListOfUserWithID
public void updateRoleListOfUserWithID(String userID, String[] deletedRoles, String[] newRoles) throws UserStoreException
- Throws:
UserStoreException
-
-