class MigrationConfigurationFactoryImpl extends ConfigurationFactoryImpl implements ConfigurationFactory {

    @Override
    public ConfigGroup newConfigGroup(ConfigType type,
                                      final String name,
                                      final String description) {
        if (ConfigType.SPACE.equals(type)) {
            type = ConfigType.ORGANIZATIONAL_UNIT;
        }

        final ConfigGroup configGroup = new ConfigGroup();
        configGroup.setDescription(description);
        configGroup.setName(name);
        configGroup.setType(type);
        configGroup.setEnabled(true);
        return configGroup;
    }

    public  MigrationConfigurationFactoryImpl();
    @Inject public  MigrationConfigurationFactoryImpl(final PasswordService secureService);

}