Class UUIDUserStoreManagerService
java.lang.Object
org.wso2.carbon.identity.test.integration.service.UUIDUserStoreManagerService
Admin service to call methods using unique user id. This service currently only used for integration tests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRoleWithID(String roleName, String[] userIDList, PermissionDTO[] permissionsDTOs, boolean isSharedRole) addUserWithID(String userName, String credential, String[] roleList, ClaimValue[] claims, String profileName) authenticateWithIDLoginIdentifier(LoginIdentifierDTO[] loginIdentifiers, String domain, String credential) authenticateWithIDUserId(String userID, String credential) authenticateWithIDUsernameClaim(String preferredUserNameClaim, String preferredUserNameValue, String credential, String profileName) voiddeleteUserClaimValuesWithID(String userID, String[] claims, String profileName) voiddeleteUserClaimValueWithID(String userID, String claimURI, String profileName) voiddeleteUserWithID(String userID) String[]getProfileNamesWithID(String userID) getRoleListOfUsersWithID(String[] userIDs) String[]getRoleListOfUserWithID(String userID) getUserClaimValuesForGivenClaimsWithID(String userID, String[] claims, String profileName) ClaimDTO[]getUserClaimValuesWithID(String userID, String profileName) getUserClaimValueWithID(String userID, String claim, String profileName) UserDTO[]getUserListOfRoleFilteredWithID(String roleName, String filter, int maxItemLimit) UserDTO[]getUserListOfRoleWithID(String roleName) UserDTO[]getUserListWithID(String claim, String claimValue, String profileName) UserDTO[]getUserListWithIDCondition(ConditionDTO conditionDTO, String domain, String profileName, int limit, int offset, String sortBy, String sortOrder) UserDTO[]getUserListWithOffsetWithID(String claim, String claimValue, String profileName, int limit, int offset) getUsersClaimValuesWithID(String[] userIDs, String[] claims, String profileName) getUserWithID(String userID, String[] requestedClaims, String profileName) booleanisExistingUserWithID(String userID) booleanisUserInRoleWithID(String userID, String roleName) UserDTO[]listUsersWithID(String filter, int maxItemLimit) UserDTO[]listUsersWithOffsetWithID(String filter, int limit, int offset) voidsetUserClaimValuesWithID(String userID, ClaimValue[] claims, String profileName) voidsetUserClaimValueWithID(String userID, String claimURI, String claimValue, String profileName) voidupdateCredentialByAdminWithID(String userID, String newCredential) voidupdateCredentialWithID(String userID, String newCredential, String oldCredential) voidupdateRoleListOfUserWithID(String userID, String[] deletedRoles, String[] newRoles) voidupdateUserListOfRoleWithID(String roleName, String[] deletedUserIDs, String[] newUserIDs)
-
Constructor Details
-
UUIDUserStoreManagerService
public UUIDUserStoreManagerService()
-
-
Method Details
-
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
- Throws:
UserStoreException
-
isUserInRoleWithID
- 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
- Throws:
UserStoreException
-
deleteUserClaimValueWithID
public void deleteUserClaimValueWithID(String userID, String claimURI, String profileName) throws UserStoreException - Throws:
UserStoreException
-
listUsersWithID
- Throws:
UserStoreException
-
getUserWithID
public UserDTO getUserWithID(String userID, String[] requestedClaims, String profileName) throws UserStoreException - Throws:
UserStoreException
-
isExistingUserWithID
- Throws:
UserStoreException
-
getProfileNamesWithID
- Throws:
UserStoreException
-
getRoleListOfUserWithID
- Throws:
UserStoreException
-
getUserListOfRoleWithID
- 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
- 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
-