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

dugan
24.37.2007 c8c98d5f7fe7a566bbde0f232fc4672b38da1c28
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/Target.java
@@ -81,7 +81,9 @@
            throws AciException {
        this.operator = operator;
        try {
          if (!Pattern.matches(LDAP_URL, target)) {
          //The NULL_LDAP_URL corresponds to the root DSE.
          if((!target.equals(NULL_LDAP_URL)) &&
             (!Pattern.matches(LDAP_URL, target))) {
              int msgID = MSGID_ACI_SYNTAX_INVALID_TARGETKEYWORD_EXPRESSION;
              String message = getMessage(msgID, target);
              throw new AciException(msgID, message);