public interface UserIdentityManagementInterface
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentityToProfile(String userId,
String externalSourceGUID,
String externalSourceName,
String userIdentityGUID,
String profileGUID)
Link a user identity to a profile.
|
String |
createUserIdentity(String userId,
String externalSourceGUID,
String externalSourceName,
UserIdentityProperties newIdentity)
Create a UserIdentity.
|
void |
deleteUserIdentity(String userId,
String externalSourceGUID,
String externalSourceName,
String userIdentityGUID)
Remove a user identity object.
|
List<UserIdentityElement> |
findUserIdentities(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of user identity metadata elements that contain the search string.
|
List<UserIdentityElement> |
getUserIdentitiesByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of user identity metadata elements with a matching qualified name.
|
UserIdentityElement |
getUserIdentityByGUID(String userId,
String userIdentityGUID)
Retrieve the userIdentity metadata element with the supplied unique identifier.
|
void |
removeIdentityFromProfile(String userId,
String externalSourceGUID,
String externalSourceName,
String userIdentityGUID,
String profileGUID)
Unlink a user identity from a profile.
|
void |
updateUserIdentity(String userId,
String externalSourceGUID,
String externalSourceName,
String userIdentityGUID,
boolean isMergeUpdate,
UserIdentityProperties properties)
Update a UserIdentity.
|
String createUserIdentity(String userId, String externalSourceGUID, String externalSourceName, UserIdentityProperties newIdentity) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.externalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the callernewIdentity - properties for the new userIdentity.InvalidParameterException - one of the parameters is invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void updateUserIdentity(String userId, String externalSourceGUID, String externalSourceName, String userIdentityGUID, boolean isMergeUpdate, UserIdentityProperties properties) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userexternalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the calleruserIdentityGUID - unique identifier of the UserIdentityisMergeUpdate - should the supplied properties be overlaid on the existing properties (true) or replace them (falseproperties - updated properties for the new userIdentityInvalidParameterException - one of the parameters is invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void deleteUserIdentity(String userId, String externalSourceGUID, String externalSourceName, String userIdentityGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userexternalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the calleruserIdentityGUID - unique identifier of the UserIdentityInvalidParameterException - one of the parameters is invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void addIdentityToProfile(String userId, String externalSourceGUID, String externalSourceName, String userIdentityGUID, String profileGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.externalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the calleruserIdentityGUID - additional userId for the profile.profileGUID - the profile to add the identity to.InvalidParameterException - one of the parameters is invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void removeIdentityFromProfile(String userId, String externalSourceGUID, String externalSourceName, String userIdentityGUID, String profileGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.externalSourceGUID - unique identifier of software server capability representing the callerexternalSourceName - unique name of software server capability representing the calleruserIdentityGUID - unique identifier of the UserIdentityprofileGUID - the profile to add the identity to.InvalidParameterException - one of the parameters is invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.List<UserIdentityElement> findUserIdentities(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)List<UserIdentityElement> getUserIdentitiesByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)UserIdentityElement getUserIdentityByGUID(String userId, String userIdentityGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useruserIdentityGUID - unique identifier of the requested metadata elementInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.