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

matthew_swift
15.39.2010 d782e4facdae0897de52f560e4ebbf30bd800318
refs
author matthew_swift <matthew_swift@localhost>
Tuesday, June 15, 2010 16:39 +0200
committer matthew_swift <matthew_swift@localhost>
Tuesday, June 15, 2010 16:39 +0200
commitd782e4facdae0897de52f560e4ebbf30bd800318
tree ae42c674641f38336201756556ca369b3eb9d8f4 tree | zip | gz
parent 4097284648812ee7dea49e8d5a20f17167424188 view | diff
DN normalization enhancements:

* don't expose toNormalizedString since applications should not depend on the normalized representation (and they invariably will mis-use it)

* change normalized form to be big-endian and replace "," and "+" separators with \u0000 and \u0001 respectively in order to provide a more intuitive ordering, especially in the presence of multiple AVAs.
6 files modified
1 files added
809 ■■■■■ changed files
sdk/src/org/opends/sdk/AVA.java 36 ●●●● diff | view | raw | blame | history
sdk/src/org/opends/sdk/DN.java 224 ●●●● diff | view | raw | blame | history
sdk/src/org/opends/sdk/RDN.java 27 ●●●●● diff | view | raw | blame | history
sdk/src/org/opends/sdk/schema/DistinguishedNameEqualityMatchingRuleImpl.java 276 ●●●● diff | view | raw | blame | history
sdk/tests/unit-tests-testng/src/org/opends/sdk/DNTestCase.java 26 ●●●● diff | view | raw | blame | history
sdk/tests/unit-tests-testng/src/org/opends/sdk/RDNTestCase.java 8 ●●●● diff | view | raw | blame | history
sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/DistinguishedNameEqualityMatchingRuleTest.java 212 ●●●●● diff | view | raw | blame | history