mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
19.12.2006 aac8798b81c60524d57e85ff44720c74fe5a029b
refs
author neil_a_wilson <neil_a_wilson@localhost>
Saturday, August 19, 2006 01:12 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Saturday, August 19, 2006 01:12 +0200
commitaac8798b81c60524d57e85ff44720c74fe5a029b
tree 6a08a300d379a900450b9a54ac158cf33bdde732 tree | zip | gz
parent eba075abb6e9f6617463aaddd120cb63cc52835d view | diff
Update the createEntry method to be more intelligent about the structural
objectclass that it uses for the entry that gets created. If the DN contains a
single RDN attribute, then the following mappings will be used:

- c -> country
- dc -> domain
- o -> organization
- ou -> organizationalUnit
- anything else -> untypedObject

If the RDN contains multiple attributes, then the untypedObject class will
always be used. If any of the RDN attributes are not allowed by the
untypedObject class, then extensibleObject will also be included.
2 files modified
153 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java 72 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/StaticUtils.java 81 ●●●● diff | view | raw | blame | history