001    // $ANTLR 2.7.4: "ACIItem.g" -> "AntlrACIItemParser.java"$
002    
003    /*
004     *  Licensed to the Apache Software Foundation (ASF) under one
005     *  or more contributor license agreements.  See the NOTICE file
006     *  distributed with this work for additional information
007     *  regarding copyright ownership.  The ASF licenses this file
008     *  to you under the Apache License, Version 2.0 (the
009     *  "License"); you may not use this file except in compliance
010     *  with the License.  You may obtain a copy of the License at
011     *  
012     *    http://www.apache.org/licenses/LICENSE-2.0
013     *  
014     *  Unless required by applicable law or agreed to in writing,
015     *  software distributed under the License is distributed on an
016     *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017     *  KIND, either express or implied.  See the License for the
018     *  specific language governing permissions and limitations
019     *  under the License. 
020     *  
021     */
022    
023    
024    package org.apache.directory.shared.ldap.aci;
025    
026    
027    import java.util.List;
028    import java.util.ArrayList;
029    import java.util.HashSet;
030    import java.util.Map;
031    import java.util.Set;
032    import java.util.Enumeration;
033    
034    import javax.naming.directory.Attribute;
035    import javax.naming.directory.BasicAttribute;
036    
037    import org.apache.directory.shared.ldap.filter.BranchNode;
038    import org.apache.directory.shared.ldap.filter.AndNode;
039    import org.apache.directory.shared.ldap.filter.OrNode;
040    import org.apache.directory.shared.ldap.filter.NotNode;
041    import org.apache.directory.shared.ldap.filter.ExprNode;
042    import org.apache.directory.shared.ldap.filter.LeafNode;
043    import org.apache.directory.shared.ldap.filter.EqualityNode;
044    import org.apache.directory.shared.ldap.filter.FilterParser;
045    import org.apache.directory.shared.ldap.name.NameComponentNormalizer;
046    import org.apache.directory.shared.ldap.subtree.SubtreeSpecification;
047    import org.apache.directory.shared.ldap.subtree.SubtreeSpecificationModifier;
048    import org.apache.directory.shared.ldap.util.ComponentsMonitor;
049    import org.apache.directory.shared.ldap.util.MandatoryAndOptionalComponentsMonitor;
050    import org.apache.directory.shared.ldap.util.MandatoryComponentsMonitor;
051    import org.apache.directory.shared.ldap.util.NamespaceTools;
052    import org.apache.directory.shared.ldap.util.NoDuplicateKeysMap;
053    import org.apache.directory.shared.ldap.util.OptionalComponentsMonitor;
054    import org.apache.directory.shared.ldap.name.LdapDN;
055    import org.apache.directory.shared.ldap.constants.SchemaConstants;
056    import org.apache.directory.shared.ldap.constants.AuthenticationLevel;
057    import org.apache.directory.shared.ldap.schema.normalizers.OidNormalizer;
058    import org.apache.directory.shared.ldap.entry.client.ClientStringValue;
059    
060    import org.slf4j.Logger;
061    import org.slf4j.LoggerFactory;
062    
063    
064    public interface AntlrACIItemParserTokenTypes {
065            int EOF = 1;
066            int NULL_TREE_LOOKAHEAD = 3;
067            int ATTRIBUTE_VALUE_CANDIDATE = 4;
068            int RANGE_OF_VALUES_CANDIDATE = 5;
069            int SP = 6;
070            int OPEN_CURLY = 7;
071            int SEP = 8;
072            int CLOSE_CURLY = 9;
073            int ID_identificationTag = 10;
074            int SAFEUTF8STRING = 11;
075            int ID_precedence = 12;
076            int INTEGER = 13;
077            int ID_authenticationLevel = 14;
078            int ID_none = 15;
079            int ID_simple = 16;
080            int ID_strong = 17;
081            int ID_itemOrUserFirst = 18;
082            int ID_itemFirst = 19;
083            int COLON = 20;
084            int ID_userFirst = 21;
085            int ID_protectedItems = 22;
086            int ID_entry = 23;
087            int ID_allUserAttributeTypes = 24;
088            int ID_attributeType = 25;
089            int ID_allAttributeValues = 26;
090            int ID_allUserAttributeTypesAndValues = 27;
091            int ID_selfValue = 28;
092            int ID_maxValueCount = 29;
093            int ID_type = 30;
094            int ID_maxCount = 31;
095            int ID_maxImmSub = 32;
096            int ID_restrictedBy = 33;
097            int ID_valuesIn = 34;
098            int ID_classes = 35;
099            int ID_itemPermissions = 36;
100            int ID_grantsAndDenials = 37;
101            int ID_grantAdd = 38;
102            int ID_denyAdd = 39;
103            int ID_grantDiscloseOnError = 40;
104            int ID_denyDiscloseOnError = 41;
105            int ID_grantRead = 42;
106            int ID_denyRead = 43;
107            int ID_grantRemove = 44;
108            int ID_denyRemove = 45;
109            int ID_grantBrowse = 46;
110            int ID_denyBrowse = 47;
111            int ID_grantExport = 48;
112            int ID_denyExport = 49;
113            int ID_grantImport = 50;
114            int ID_denyImport = 51;
115            int ID_grantModify = 52;
116            int ID_denyModify = 53;
117            int ID_grantRename = 54;
118            int ID_denyRename = 55;
119            int ID_grantReturnDN = 56;
120            int ID_denyReturnDN = 57;
121            int ID_grantCompare = 58;
122            int ID_denyCompare = 59;
123            int ID_grantFilterMatch = 60;
124            int ID_denyFilterMatch = 61;
125            int ID_grantInvoke = 62;
126            int ID_denyInvoke = 63;
127            int ID_userClasses = 64;
128            int ID_allUsers = 65;
129            int ID_thisEntry = 66;
130            int ID_parentOfEntry = 67;
131            int ID_name = 68;
132            int ID_userGroup = 69;
133            int ID_subtree = 70;
134            int ID_userPermissions = 71;
135            int ID_base = 72;
136            int ID_specificExclusions = 73;
137            int ID_chopBefore = 74;
138            int ID_chopAfter = 75;
139            int ID_minimum = 76;
140            int ID_maximum = 77;
141            int DESCR = 78;
142            int NUMERICOID = 79;
143            int ID_item = 80;
144            int ID_and = 81;
145            int ID_or = 82;
146            int ID_not = 83;
147            int ID_FALSE = 84;
148            int ID_TRUE = 85;
149            int ID_level = 86;
150            int ID_basicLevels = 87;
151            int ID_localQualifier = 88;
152            int ID_signed = 89;
153            int ID_rangeOfValues = 90;
154            int ID_specificationFilter = 91;
155            int SAFEUTF8CHAR = 92;
156            int DIGIT = 93;
157            int LDIGIT = 94;
158            int ALPHA = 95;
159            int HYPHEN = 96;
160            int DOT = 97;
161            int INTEGER_OR_NUMERICOID = 98;
162            int FILTER = 99;
163            int FILTER_VALUE = 100;
164    }