I have a method like this:
public User getUpdatedUser(UserInfo userInfo, User user) throws ProvisioningException { if (!userInfo.getUserExternalId().equal