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

Jean-Noel Rouvignac
12.12.2013 f5a956ac0f445f81fa06ed1875253dec8e306f1a
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
commitf5a956ac0f445f81fa06ed1875253dec8e306f1a
tree da6d439439290fa37f8aad198b154cd00c56c02b tree | zip | gz
parent d6b0cd5244b2b60ee9b222fa2d75e8b661e6262c 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
opends/src/server/org/opends/server/authorization/dseecompat/AciContainer.java 38 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java 29 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java 72 ●●●●● diff | view | raw | blame | history