ConfigurationDefinition pluginConfigDefinition = LookupUtil.getConfigurationManager()
.getPluginConfigurationDefinitionForResourceType(getSessionSubject(), newResourceTypeId);
Configuration pluginConfig = null;
if (pluginConfigDefinition != null) {
ConfigurationTemplate pluginConfigTemplate = pluginConfigDefinition.getDefaultTemplate();
pluginConfig = (pluginConfigTemplate != null) ? pluginConfigTemplate.createConfiguration()
: new Configuration();
// TODO GH: Is this still necessary now that we don't blow up on non-normalized configs
// ConfigurationUtility.normalizeConfiguration(pluginConfig, pluginConfigDefinition);
}