DIT content rules can be defined purely from the schema configuration files using the DIT content rule description syntax provided in DIT Content Rule Description Format. All DIT content rule objects are instances of the org.opends.server.types.DITContentRule class. DIT content rule objects can be retrieved from the directory server schema using the structural object class with which they are associated.
At the present time, the mechanism used to handle DIT content rules varies from the LDAPv3 specification. The LDAPv3 specification states that if the structural object class used in an entry does not have a corresponding DIT content rule, then that entry is not allowed to contain any auxiliary object classes. Because the Sun Java System directory server does not support DIT content rules, the directory server does not prevent the use of auxiliary object classes in entries for which there is no corresponding DIT content rule. If it is desirable to prevent the inclusion of auxiliary classes in a given type of entry, then a DIT content rule should be created with no allowed auxiliary classes to cover entries with the appropriate structural object class.