1 -- Module ServiceAdministration (X.501:08/2005)
2 ServiceAdministration {joint-iso-itu-t ds(5) module(1)
3 serviceAdministration(33) 5} DEFINITIONS ::=
7 -- The types and values defined in this module are exported for use in the other ASN.1 modules contained
8 -- within the Directory Specifications, and for the use of other applications which will use them to access
9 -- Directory services. Other applications may use them for their own purposes, but this will not constrain
10 -- extensions and modifications needed to maintain or improve the Directory service.
12 -- from ITU-T Rec. X.501 | ISO/IEC 9594-2
13 directoryAbstractService, informationFramework
14 FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
15 usefulDefinitions(0) 5}
16 ATTRIBUTE, AttributeType, CONTEXT, MATCHING-RULE, OBJECT-CLASS,
17 SupportedAttributes, SupportedContexts
18 FROM InformationFramework informationFramework
19 -- from ITU-T Rec. X.511 | ISO/IEC 9594-3
20 FamilyGrouping, FamilyReturn, HierarchySelections, SearchControlOptions,
22 FROM DirectoryAbstractService directoryAbstractService;
25 SearchRule ::= SEQUENCE {
26 COMPONENTS OF SearchRuleId,
27 serviceType [1] OBJECT IDENTIFIER OPTIONAL,
28 userClass [2] INTEGER OPTIONAL,
30 [3] SEQUENCE SIZE (0..MAX) OF RequestAttribute OPTIONAL,
31 attributeCombination [4] AttributeCombination DEFAULT and:{},
32 outputAttributeTypes [5] SEQUENCE SIZE (1..MAX) OF ResultAttribute OPTIONAL,
33 defaultControls [6] ControlOptions OPTIONAL,
34 mandatoryControls [7] ControlOptions OPTIONAL,
35 searchRuleControls [8] ControlOptions OPTIONAL,
36 familyGrouping [9] FamilyGrouping OPTIONAL,
37 familyReturn [10] FamilyReturn OPTIONAL,
38 relaxation [11] RelaxationPolicy OPTIONAL,
39 additionalControl [12] SEQUENCE SIZE (1..MAX) OF AttributeType OPTIONAL,
40 allowedSubset [13] AllowedSubset DEFAULT '111'B,
41 imposedSubset [14] ImposedSubset OPTIONAL,
42 entryLimit [15] EntryLimit OPTIONAL
45 SearchRuleId ::= SEQUENCE {id INTEGER,
46 dmdId [0] OBJECT IDENTIFIER
49 AllowedSubset ::= BIT STRING {baseObject(0), oneLevel(1), wholeSubtree(2)}
51 ImposedSubset ::= ENUMERATED {baseObject(0), oneLevel(1), wholeSubtree(2)}
53 RequestAttribute ::= SEQUENCE {
54 attributeType ATTRIBUTE.&id({SupportedAttributes}),
55 includeSubtypes [0] BOOLEAN DEFAULT FALSE,
57 [1] SEQUENCE SIZE (0..MAX) OF
58 ATTRIBUTE.&Type({SupportedAttributes}{@attributeType}) OPTIONAL,
60 [2] SEQUENCE SIZE (0..MAX) OF
61 SEQUENCE {entryType OBJECT-CLASS.&id OPTIONAL,
64 ATTRIBUTE.&Type({SupportedAttributes}{@attributeType})
66 contexts [3] SEQUENCE SIZE (0..MAX) OF ContextProfile OPTIONAL,
67 contextCombination [4] ContextCombination DEFAULT and:{},
68 matchingUse [5] SEQUENCE SIZE (1..MAX) OF MatchingUse OPTIONAL
71 ContextProfile ::= SEQUENCE {
72 contextType CONTEXT.&id({SupportedContexts}),
74 SEQUENCE SIZE (1..MAX) OF
75 CONTEXT.&Assertion({SupportedContexts}{@contextType}) OPTIONAL
78 ContextCombination ::= CHOICE {
79 context [0] CONTEXT.&id({SupportedContexts}),
80 and [1] SEQUENCE OF ContextCombination,
81 or [2] SEQUENCE OF ContextCombination,
82 not [3] ContextCombination
85 MatchingUse ::= SEQUENCE {
86 restrictionType MATCHING-RESTRICTION.&id({SupportedMatchingRestrictions}),
88 MATCHING-RESTRICTION.&Restriction
89 ({SupportedMatchingRestrictions}{@restrictionType})
92 -- Definition of the following information object set is deferred, perhaps to standardized
93 -- profiles or to protocol implementation conformance statements. The set is required to
94 -- specify a table constraint on the components of SupportedMatchingRestrictions
95 SupportedMatchingRestrictions MATCHING-RESTRICTION ::=
98 AttributeCombination ::= CHOICE {
99 attribute [0] AttributeType,
100 and [1] SEQUENCE OF AttributeCombination,
101 or [2] SEQUENCE OF AttributeCombination,
102 not [3] AttributeCombination
105 ResultAttribute ::= SEQUENCE {
106 attributeType ATTRIBUTE.&id({SupportedAttributes}),
108 CHOICE {selectedValues
110 ATTRIBUTE.&Type({SupportedAttributes}{@attributeType}),
111 matchedValuesOnly NULL} OPTIONAL,
112 contexts [0] SEQUENCE SIZE (1..MAX) OF ContextProfile OPTIONAL
115 ControlOptions ::= SEQUENCE {
116 serviceControls [0] ServiceControlOptions DEFAULT {},
117 searchOptions [1] SearchControlOptions DEFAULT {searchAliases},
118 hierarchyOptions [2] HierarchySelections OPTIONAL
121 EntryLimit ::= SEQUENCE {default INTEGER,
125 RelaxationPolicy ::= SEQUENCE {
126 basic [0] MRMapping DEFAULT {},
127 tightenings [1] SEQUENCE SIZE (1..MAX) OF MRMapping OPTIONAL,
128 relaxations [2] SEQUENCE SIZE (1..MAX) OF MRMapping OPTIONAL,
129 maximum [3] INTEGER OPTIONAL, -- mandatory if tightenings is present
130 minimum [4] INTEGER DEFAULT 1
133 MRMapping ::= SEQUENCE {
134 mapping [0] SEQUENCE SIZE (1..MAX) OF Mapping OPTIONAL,
135 substitution [1] SEQUENCE SIZE (1..MAX) OF MRSubstitution OPTIONAL
138 Mapping ::= SEQUENCE {
141 (CONSTRAINED BY {-- shall be an--
143 -- object identifier of a mapping-based matching algorithm -- }),
144 level INTEGER DEFAULT 0
147 MRSubstitution ::= SEQUENCE {
148 attribute AttributeType,
149 oldMatchingRule [0] MATCHING-RULE.&id OPTIONAL,
150 newMatchingRule [1] MATCHING-RULE.&id OPTIONAL
153 -- ASN.1 information object classes
154 SEARCH-RULE ::= CLASS {
155 &dmdId OBJECT IDENTIFIER,
156 &serviceType OBJECT IDENTIFIER OPTIONAL,
157 &userClass INTEGER OPTIONAL,
158 &InputAttributeTypes REQUEST-ATTRIBUTE OPTIONAL,
159 &combination AttributeCombination OPTIONAL,
160 &OutputAttributeTypes RESULT-ATTRIBUTE OPTIONAL,
161 &defaultControls ControlOptions OPTIONAL,
162 &mandatoryControls ControlOptions OPTIONAL,
163 &searchRuleControls ControlOptions OPTIONAL,
164 &familyGrouping FamilyGrouping OPTIONAL,
165 &familyReturn FamilyReturn OPTIONAL,
166 &additionalControl AttributeType OPTIONAL,
167 &relaxation RelaxationPolicy OPTIONAL,
168 &allowedSubset AllowedSubset DEFAULT '111'B,
169 &imposedSubset ImposedSubset OPTIONAL,
170 &entryLimit EntryLimit OPTIONAL,
175 [SERVICE-TYPE &serviceType]
176 [USER-CLASS &userClass]
177 [INPUT ATTRIBUTES &InputAttributeTypes]
178 [COMBINATION &combination]
179 [OUTPUT ATTRIBUTES &OutputAttributeTypes]
180 [DEFAULT CONTROL &defaultControls]
181 [MANDATORY CONTROL &mandatoryControls]
182 [SEARCH-RULE CONTROL &searchRuleControls]
183 [FAMILY-GROUPING &familyGrouping]
184 [FAMILY-RETURN &familyReturn]
185 [ADDITIONAL CONTROL &additionalControl]
186 [RELAXATION &relaxation]
187 [ALLOWED SUBSET &allowedSubset]
188 [IMPOSED SUBSET &imposedSubset]
189 [ENTRY LIMIT &entryLimit]
193 REQUEST-ATTRIBUTE ::= CLASS {
194 &attributeType ATTRIBUTE.&id,
195 &SelectedValues ATTRIBUTE.&Type OPTIONAL,
196 &DefaultValues SEQUENCE {entryType OBJECT-CLASS.&id OPTIONAL,
197 values SEQUENCE OF ATTRIBUTE.&Type
199 &contexts SEQUENCE OF ContextProfile OPTIONAL,
200 &contextCombination ContextCombination OPTIONAL,
201 &MatchingUse MatchingUse OPTIONAL,
202 &includeSubtypes BOOLEAN DEFAULT FALSE
205 ATTRIBUTE TYPE &attributeType
206 [SELECTED VALUES &SelectedValues]
207 [DEFAULT VALUES &DefaultValues]
209 [CONTEXT COMBINATION &contextCombination]
210 [MATCHING USE &MatchingUse]
211 [INCLUDE SUBTYPES &includeSubtypes]
214 RESULT-ATTRIBUTE ::= CLASS {
215 &attributeType ATTRIBUTE.&id,
216 &outputValues CHOICE {selectedValues SEQUENCE OF ATTRIBUTE.&Type,
217 matchedValuesOnly NULL
219 &contexts ContextProfile OPTIONAL
222 ATTRIBUTE TYPE &attributeType
223 [OUTPUT VALUES &outputValues]
227 MATCHING-RESTRICTION ::= CLASS {
229 &Rules MATCHING-RULE.&id,
230 &id OBJECT IDENTIFIER UNIQUE
231 }WITH SYNTAX {RESTRICTION &Restriction
236 END -- ServiceAdministration
238 -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D