void process(AMStoreConnection dpConnection) throws AdminException { EntityUtils entityUtils = new EntityUtils(); Map map = entityUtils.getEntityTypesMap(dpConnection); AMEntityType type = (AMEntityType) map.get(entityType); if (type == null) { throw new AdminException(bundle.getString("invalidEntity")); } String localizedName = entityUtils.getL10NAttributeName(dpConnection, type.getServiceName(), ENTITY_NAME); String args[] = {localizedName}; String localizedStr = MessageFormat.format(bundle.getString("modifyEntity"), args); writer.println(bundle.getString("container") + " " + targetDN + "\n" + localizedStr); try { AMEntity entity = dpConnection.getEntity(entityDN); doLog(entity, AdminUtils.MODIFY_ENTITY_ATTEMPT, localizedName); entity.setAttributes(values); entity.store(); // doLog(entity, "modify-entity", localizedName); doLog(entity, AdminUtils.MODIFY_ENTITY, localizedName); } catch (AMException ame) { throw new AdminException(ame); } catch (SSOException ssoe) { throw new AdminException(ssoe); } }