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

Jean-Noël Rouvignac
25.58.2016 de025522059a4caaf1f5793c635e33648b68a84c
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, January 25, 2016 16:58 +0100
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, January 28, 2016 09:29 +0100
commitde025522059a4caaf1f5793c635e33648b68a84c
tree 310df8ef48ff1c00050f5449c06eaddaebee1414 tree | zip | gz
parent c2eaf97f09d246d92b8259687472304c5bab695c view | diff
OPENDJ-2638 (PR-201) Collation matching rule should be configurable via config.ldif

Collation matching rules can now be unconfigured via config.ldif and removed via dsconfig.
However new collation matching rules cannot be added via config.ldif or added via dsconfig.

CollationMatchingRuleFactory.java:
In initializeMatchingRule(), no longer throw DirectoryException
when trying to override an already existing collation matching rule
(already existing collation matching rule are hardcoded by the SDK schema).
In applyConfigurationChange(), no longer throw NullPointerException (serverContext is never set):
collation matching rules can now be removed
1 files modified
208 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/schema/CollationMatchingRuleFactory.java 208 ●●●●● diff | view | raw | blame | history