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

Jean-Noel Rouvignac
12.12.2013 6b6247c180be9f489da7dba683c239a893f25c01
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, July 12, 2013 14:12 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, July 12, 2013 14:12 +0200
commit6b6247c180be9f489da7dba683c239a893f25c01
tree 883e9eaf3e0f3031ecc25717e827f98587ac27f2 tree | zip | gz
parent 130391e81525174e9733df37981be4055bbffca5 view | diff
AciEvalContext.java, AciContainer.java:
Removed instance member isDenyEval, setDecidingAci() and setEvalReason(), replaced with setEvaluationResult() since both are always set at the same time.
Changed the impl of isDenyEval() to use the evalReason.

AciEffectiveRights.java:
Used AciEvalContext.setEvaluationResult().

AciHandler.java:
In testApplicableLists(), used AciEvalContext.setEvaluationResult().
Pushed negation down in if statements condition, merged common code between if and else clauses, collapsed if statements.
4 files modified
146 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java 38 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java 7 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java 29 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java 72 ●●●●● diff | view | raw | blame | history