try {
ManagedObjectPath<?, ?> path = getManagedObjectPath();
LdapName dn = LDAPNameBuilder.create(path, driver.getLDAPProfile());
driver.getLDAPConnection().modifyEntry(dn, mods);
} catch (NoPermissionException e) {
throw new AuthorizationException(e);
} catch (OperationNotSupportedException e) {
// Unwilling to perform.
if (e.getMessage() == null) {
throw new OperationRejectedException(OperationType.MODIFY, d
.getUserFriendlyName());