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

abobrov
25.04.2009 1ba07daaa4ecaee774da433b0d8a2d38de9db6e2
- [Issue 4217]  Aci with a description containing parenthesis unexpectedly rejected : track aci statement separator.
1 files modified
5 ■■■■■ changed files
opends/src/server/org/opends/server/authorization/dseecompat/AciBody.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/AciBody.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 */
package org.opends.server.authorization.dseecompat;
@@ -192,7 +192,8 @@
            }
            name = bodyMatcher.group(NAME);
        }
        Pattern bodyPattern1 = Pattern.compile(actionRegex);
        Pattern bodyPattern1 = Pattern.compile(
                ACI_STATEMENT_SEPARATOR + actionRegex);
        Matcher bodyMatcher1 = bodyPattern1.matcher(input);
        /*
         * The may be many permission-bind rule pairs.