| | |
| | | import org.assertj.core.api.SoftAssertions; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.i18n.slf4j.LocalizedLogger; |
| | | import org.forgerock.opendj.adapter.server3x.Converters; |
| | | import org.forgerock.opendj.config.server.ConfigException; |
| | | import org.forgerock.opendj.ldap.ByteString; |
| | | import org.forgerock.opendj.ldap.ModificationType; |
| | |
| | | { |
| | | if (configEntry != null) |
| | | { |
| | | DirectoryServer.getConfigHandler().addEntry(configEntry, null); |
| | | DirectoryServer.getConfigurationHandler().addEntry(Converters.from(configEntry)); |
| | | assertNotNull(DirectoryServer.getConfigEntry(configEntry.getName()), errorMessage); |
| | | configEntriesToCleanup.add(configEntry.getName()); |
| | | } |