ManagedProperty managedProperty = managedProperties.get("security-domain");
MetaValue metaValue = managedProperty.getValue();
PropertyAdapter propertyAdapter = PropertyAdapterFactory.getPropertyAdapter(metaValue);
propertyAdapter.populateMetaValueFromProperty(resourceConfiguration.get("security-domain"), metaValue,
resourceConfigurationDefinition.get("security-domain"));
managementView.updateComponent(managedComponent);
managementView.load();
} catch (Exception e) {
report.setErrorMessage("Resource was created but an error occured while updating security-domain property");
report.setException(e);
}