Class SyncPasswordFromSrcProvisionOperation


  • @Component
    public class SyncPasswordFromSrcProvisionOperation
    extends AbstractUserPasswordProvisionOperation<PasswordValidationResponse>
    Author:
    zaporozhec Operation to process Password synchronization from target system. All business logic is described in this class. 1stly system get request, try to find user by PasswordSync.userId or if user id is not presented by PasswordSync.managedSystemId and PasswordSync.principal. it will throw with code ResponseCode.USER_NOT_FOUND in case that user has been not found. 2ndly system try to get user's Login by PasswordSync.managedSystemId, it will throw with code ResponseCode.PRINCIPAL_NOT_FOUND if login will be not found. After system will apply new password PasswordSync.password for all users' identity and starts provisioning to all target system except target system PasswordSync.managedSystemId to prevent sync passoword loop