| | |
| | | import java.util.Properties; |
| | | import java.util.TreeMap; |
| | | import java.util.TreeSet; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.opendj.config.ACIPropertyDefinition; |
| | | import org.forgerock.opendj.config.AbsoluteInheritedDefaultBehaviorProvider; |
| | |
| | | import org.forgerock.opendj.config.UndefinedDefaultBehaviorProvider; |
| | | import org.forgerock.opendj.config.server.ConfigException; |
| | | import org.forgerock.opendj.server.config.meta.RootCfgDefn; |
| | | import org.opends.server.util.EmbeddedUtils; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.util.DynamicConstants; |
| | | |
| | | /** |
| | |
| | | |
| | | // Enable the client-side class loader to explicitly load classes |
| | | // which are not directly reachable from the root configuration |
| | | EmbeddedUtils.initializeForClientUse(); |
| | | // Bootstrap definition classes. |
| | | DirectoryServer.bootstrapClient(); |
| | | try { |
| | | ConfigurationFramework.getInstance().initialize(); |
| | | } catch (ConfigException e) { |
| | |
| | | e.printStackTrace(); |
| | | System.exit(1); |
| | | } |
| | | // Switch off class name validation in client. |
| | | // ClassPropertyDefinition.setAllowClassValidation(false); |
| | | // Switch off attribute type name validation in client. |
| | | // AttributeTypePropertyDefinition.setCheckSchema(false); |
| | | |
| | | // Build a sorted list of top managed objects |
| | | TopCfgDefn topCfg = TopCfgDefn.getInstance(); |