SyncHandler handler = syncManager.getSyncHandler(syncName);
if (handler == null) {
log.error("No sync manager available for name {}.", syncName);
throw new IllegalArgumentException("No sync manager available for name " + syncName);
}
ExternalIdentityProvider idp = idpManager.getProvider(idpName);
if (idp == null) {
log.error("No idp available for name", idpName);
throw new IllegalArgumentException("No idp manager available for name " + idpName);
}
try {