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

dugan
17.55.2009 6f81b33b814d85eefed7076fa1a30e5d0cd04321
Fix ACI SSF bind rule "!=" operator not working.
https://opends.dev.java.net/issues/show_bug.cgi?id=3723
2 files modified
12 ■■■■■ changed files
opends/src/server/org/opends/server/authorization/dseecompat/SSF.java 6 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java 6 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/SSF.java
@@ -87,12 +87,8 @@
        int currentSSF = evalCtx.getCurrentSSF();
        switch (type) {
        case EQUAL_BINDRULE_TYPE:
            if (currentSSF == ssf)
                matched=EnumEvalResult.TRUE;
            break;
        case NOT_EQUAL_BINDRULE_TYPE:
            if (currentSSF != ssf)
            if (currentSSF == ssf)
                matched=EnumEvalResult.TRUE;
            break;
opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java
@@ -107,12 +107,6 @@
        //check the type
        switch (type) {
        case EQUAL_BINDRULE_TYPE:
            if (currentTime == timeRef)
            {
                matched=EnumEvalResult.TRUE;
            }
            break;
        case NOT_EQUAL_BINDRULE_TYPE:
            if (currentTime != timeRef)
            {