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

Gaetan Boismal
20.49.2014 95780900edac514e060d5289b8b0e476aa517dbf
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, June 20, 2014 14:49 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, June 20, 2014 14:49 +0200
commit95780900edac514e060d5289b8b0e476aa517dbf
tree 8cd852d8d5a3c8554230e1f6711f2d5573b16463 tree | zip | gz
parent 8deb3baa3692a2e1f6fca94d3a10ff06cc05bd07 view | diff
OPENDJ-1351 (CR-3814) Require a privilege needed for searching cn=changelog
* config.ldiff
** Add the 'changelog-read' value to the 'ds-default-root-privilege-name' multi-valued attribute
* GlobalConfiguration.xml RootDNConfiguration.xml ADSContext.java Privilege.java RootPrivilegeChangeListener.java
** Add the 'changelog-read' privilege where is was needed
* GlobalCfgDefn.properties RootDNCfgDefn.properties
** Add 'changelog-read' privilege definition
* replication.properties replication_fr.properties
** Add messages to prevent user that he needs to have the 'changelog-read' privilege if he wants to search on changelog
* ECLSearchOperation.java
** Add a check to verify that the current connection has the 'changelog-read' privilege before starting the changelog search
* ExternalChangeLogTest.java
** Unit test which ensure that is not possible to perform a changelog search without the 'changelog-read' privilege
12 files modified
151 ■■■■ changed files
opends/resource/config/config.ldif 3 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/GlobalConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/RootDNConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/admin/messages/GlobalCfgDefn.properties 1 ●●●● diff | view | raw | blame | history
opends/src/admin/messages/RootDNCfgDefn.properties 1 ●●●● diff | view | raw | blame | history
opends/src/ads/org/opends/admin/ads/ADSContext.java 3 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/replication.properties 4 ●●● diff | view | raw | blame | history
opends/src/messages/messages/replication_fr.properties 1 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/RootPrivilegeChangeListener.java 77 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/Privilege.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLSearchOperation.java 7 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ExternalChangeLogTest.java 25 ●●●●● diff | view | raw | blame | history