blob: 9af7009d60fc75524e0761d3ecf629576de06842 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
|
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:afp="urn:mace:shibboleth:2.0:afp"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
targetNamespace="urn:mace:shibboleth:2.0:afp"
version="5.0.0"
elementFormDefault="qualified">
<import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd" />
<annotation>
<documentation>Schema for the attribute filter policies.</documentation>
</annotation>
<element name="AttributeFilterPolicyGroup" type="afp:AttributeFilterPolicyGroupType">
<annotation>
<documentation>
Root element of the attribute filter policy. Represents a named group of filter policies.
</documentation>
</annotation>
</element>
<complexType name="AttributeFilterPolicyGroupType">
<complexContent>
<extension base="afp:IdentityType">
<sequence>
<element ref="afp:PolicyRequirementRule" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Defines a set of applications requirements that may be reused across multiple filter
policies.
</documentation>
</annotation>
</element>
<element ref="afp:PermitValueRule" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Defines a permit value rule that may be reused across multiple attribute rules.
</documentation>
</annotation>
</element>
<element ref="afp:DenyValueRule" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Defines a deny value rule that may be reused across multiple attribute rules.
</documentation>
</annotation>
</element>
<element ref="afp:AttributeRule" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Defines an attribute rule that may be reused across multiple filter policies.
</documentation>
</annotation>
</element>
<element ref="afp:AttributeFilterPolicy" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
A policy that defines the set of attribute value filters that will be applied if its
application requirements are met.
</documentation>
</annotation>
</element>
<element ref="ds:Signature" minOccurs="0">
<annotation>
<documentation>
Digital signature for the policy. Policies that are fetched from an external source,
such as a federation site, should be signed.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="AttributeFilterPolicy" type="afp:AttributeFilterPolicyType">
<annotation>
<documentation>
A policy that defines a set of attribute value filters rules that should be used if given requirements
are met.
</documentation>
</annotation>
</element>
<complexType name="AttributeFilterPolicyType">
<complexContent>
<extension base="afp:IdentityType">
<sequence>
<element ref="afp:PolicyRequirementRule">
<annotation>
<documentation>
A requirement that if met signals that this filter policy should be used.
</documentation>
</annotation>
</element>
<element ref="afp:AttributeRule" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
A rule that describes how values of an attribute will be filtered.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="AttributeRule" type="afp:AttributeRuleType">
<annotation>
<documentation>A rule that describes how values of an attribute will be filtered.</documentation>
</annotation>
</element>
<complexType name="AttributeRuleType">
<complexContent>
<extension base="afp:IdentityType">
<choice>
<choice minOccurs="0">
<element ref="afp:PermitValueRule"/>
<element name="PermitValueRuleReference" type="afp:ReferenceType">
<annotation>
<documentation>
Reference to a PermitValueRule defined within this policy group or another.
</documentation>
</annotation>
</element>
</choice>
<choice minOccurs="0">
<element ref="afp:DenyValueRule"/>
<element name="DenyValueRuleReference" type="afp:ReferenceType">
<annotation>
<documentation>
Reference to a DenyValueRule defined within this policy group or another.
</documentation>
</annotation>
</element>
</choice>
</choice>
<attribute name="attributeID" type="afp:string" use="required">
<annotation>
<documentation>The ID of the attribute to which this rule applies.</documentation>
</annotation>
</attribute>
<attribute name="permitAny" type="afp:string">
<annotation>
<documentation>If present, and true injects an implicit permit value rule of type ANY</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<element name="PolicyRequirementRule" type="afp:MatchFunctorType">
<annotation>
<documentation>A requirement that if met signals that a filter policy should be used.</documentation>
</annotation>
</element>
<element name="PermitValueRule" type="afp:MatchFunctorType">
<annotation>
<documentation>
A filter for attribute values. If the filter evaluates to true the value is permitted to be released.
</documentation>
</annotation>
</element>
<element name="DenyValueRule" type="afp:MatchFunctorType">
<annotation>
<documentation>
A filter for attribute values. If the filter evaluates to true the value is denied and may not be released.
</documentation>
</annotation>
</element>
<complexType name="MatchFunctorType" abstract="true">
<complexContent>
<extension base="afp:IdentityType"/>
</complexContent>
</complexType>
<complexType name="IdentityType">
<attribute name="id" type="afp:string">
<annotation>
<documentation>An ID, unique within the policy and component type.</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="ReferenceType">
<attribute name="ref" type="afp:string">
<annotation>
<documentation>Used to reference a globally defined policy component.</documentation>
</annotation>
</attribute>
</complexType>
<!-- Blanket Match Function -->
<complexType name="ANY">
<annotation>
<documentation>A match function that evaluates to true.</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType"/>
</complexContent>
</complexType>
<!-- Directional Match Functions -->
<complexType name="Inbound">
<annotation>
<documentation>A match function that evaluates to true.</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType"/>
</complexContent>
</complexType>
<complexType name="Outbound">
<annotation>
<documentation>A match function that evaluates to true.</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType"/>
</complexContent>
</complexType>
<!-- Boolean Match Functions -->
<complexType name="AND">
<annotation>
<documentation>
A match function that performs a logical AND on the results of all contained matching functions.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<sequence maxOccurs="unbounded">
<element name="Rule" type="afp:MatchFunctorType">
<annotation>
<documentation>
The set of match function rules to be ANDed.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="OR">
<annotation>
<documentation>
A match function that performs a logical OR on the results of all contained matching functions.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<sequence maxOccurs="unbounded">
<element name="Rule" type="afp:MatchFunctorType">
<annotation>
<documentation>
The set of match function rules to be ORed.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="NOT">
<annotation>
<documentation>
A match function that performs a logical NOT on the result of the contained matching function.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<sequence minOccurs="1" maxOccurs="1">
<element name="Rule" type="afp:MatchFunctorType">
<annotation>
<documentation>
The set of match function rules to be negated.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- Predicate Plugin Function -->
<complexType name="Predicate">
<annotation>
<documentation>
A match function that matches the attribute request against the
specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="rulePredicateRef" type="afp:string" use="required">
<annotation>
<documentation>
The reference to an externally defined bean to do the predicate work
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<!-- Literal String Match Functions -->
<complexType name="Requester">
<annotation>
<documentation>
A match function that matches the attribute requester against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:StringMatchType"/>
</complexContent>
</complexType>
<complexType name="ProxiedRequester">
<annotation>
<documentation>
A match function that matches a proxied attribute requester against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:StringMatchType"/>
</complexContent>
</complexType>
<complexType name="Issuer">
<annotation>
<documentation>
A match function that matches the attribute issuer against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:StringMatchType"/>
</complexContent>
</complexType>
<complexType name="PrincipalName">
<annotation>
<documentation>A match function that matches the principal name against the specified value.</documentation>
</annotation>
<complexContent>
<extension base="afp:StringMatchType"/>
</complexContent>
</complexType>
<complexType name="Profile">
<annotation>
<documentation>A match function that matches the active profile identifier against the specified value.</documentation>
</annotation>
<complexContent>
<extension base="afp:StringMatchType"/>
</complexContent>
</complexType>
<complexType name="Value">
<annotation>
<documentation>
A match function that matches the value of an attribute against the specified value. This match
evaluates to true if the attribute contains the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:TargetedStringMatchType"/>
</complexContent>
</complexType>
<complexType name="Scope">
<annotation>
<documentation>
A match function that matches the attribute scope against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:TargetedStringMatchType"/>
</complexContent>
</complexType>
<complexType name="TargetedStringMatchType" abstract="true">
<complexContent>
<extension base="afp:StringMatchType">
<attribute name="attributeID" type="afp:string">
<annotation>
<documentation>
The ID of the attribute whose value should be matched. If no attribute ID is specified the
ID of the containing attribute rule is assumed.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="StringMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="value" type="afp:string" use="required">
<annotation>
<documentation>The string value to match.</documentation>
</annotation>
</attribute>
<attribute name="caseSensitive" type="afp:string">
<annotation>
<documentation>
A boolean flag indicating whether the match evaluation should be case sensitive.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<!-- Regular Expression Match Functions -->
<complexType name="RequesterRegex">
<annotation>
<documentation>
A match function that matches the attribute requester against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:RegexMatchType"/>
</complexContent>
</complexType>
<complexType name="ProxiedRequesterRegex">
<annotation>
<documentation>
A match function that matches a proxied attribute requester against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:RegexMatchType"/>
</complexContent>
</complexType>
<complexType name="IssuerRegex">
<annotation>
<documentation>
A match function that matches the attribute issuer against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:RegexMatchType"/>
</complexContent>
</complexType>
<complexType name="PrincipalNameRegex">
<annotation>
<documentation>
A match function that matches the principal name against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:RegexMatchType"/>
</complexContent>
</complexType>
<complexType name="ValueRegex">
<annotation>
<documentation>
A match function that matches an attribute value against the specified regular expression. This function
evaluates to true if any value matches the given expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:TargetedRegexMatchType"/>
</complexContent>
</complexType>
<complexType name="ScopeRegex">
<annotation>
<documentation>
A match function that matches the attribute scope against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:TargetedRegexMatchType"/>
</complexContent>
</complexType>
<complexType name="TargetedRegexMatchType" abstract="true">
<complexContent>
<extension base="afp:RegexMatchType">
<attribute name="attributeID" type="afp:string">
<annotation>
<documentation>
The ID of the attribute whose value should be matched. If no attribute ID is specified the
ID of the containing attribute rule is assumed.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="RegexMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="regex" type="afp:string" use="required">
<annotation>
<documentation>The regular expression values are matched against.</documentation>
</annotation>
</attribute>
<attribute name="caseSensitive" type="afp:string">
<annotation>
<documentation>Whether the comparison is case sensitive, default TRUE</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<!-- Misc. Functions -->
<complexType name="Script">
<annotation>
<documentation>
A match function that evaluates a script to determine if some criteria is met. The script MUST return a
boolean.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<choice>
<element name="Script" type="afp:string" minOccurs="0">
<annotation>
<documentation>The script to evaluate to construct the attribute.</documentation>
</annotation>
</element>
<element name="ScriptFile" type="afp:string" minOccurs="0">
<annotation>
<documentation>
The filesystem path to the script to evaluate to construct the attribute.
</documentation>
</annotation>
</element>
</choice>
<attribute name="language" type="afp:string">
<annotation>
<documentation>
The JSR-233 name for the scripting language that will be used. By default "javascript" is
supported.
</documentation>
</annotation>
</attribute>
<attribute name="customObjectRef" type="afp:string">
<annotation>
<documentation>
The name of a bean defined somewhere else which will be injected into the script as an
object called "custom". If not supplied nothing is injected.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="NumberOfAttributeValues">
<annotation>
<documentation>
A match function that evaluates to true if the given attribute has as a number of values that falls
between the minimum and maximum. This method may be used as a sanity check to ensure that an unexpected
number of values did not come from the attribute resolver and be released.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="attributeID" type="afp:string" use="required">
<annotation>
<documentation>The ID of the attribute whose value should be matched.</documentation>
</annotation>
</attribute>
<attribute name="minimum" type="afp:string">
<annotation>
<documentation>Minimum number of values an attribute may have.</documentation>
</annotation>
</attribute>
<attribute name="maximum" type="afp:string">
<annotation>
<documentation>Maximum number of values an attribute may have.</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<!-- SAML-specific. -->
<complexType name="EntityAttributeExactMatch">
<annotation>
<documentation>
A match function that checks if the attribute requester's metadata
contains an entity attribute with the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityAttributeExactMatchType"/>
</complexContent>
</complexType>
<complexType name="ProxiedRequesterEntityAttributeExactMatch">
<annotation>
<documentation>
A match function that checks if a proxied requester's metadata
contains an entity attribute with the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityAttributeExactMatchType"/>
</complexContent>
</complexType>
<complexType name="IssuerEntityAttributeExactMatch">
<annotation>
<documentation>
A match function that checks if the attribute issuer's metadata
contains an entity attribute with the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityAttributeExactMatchType"/>
</complexContent>
</complexType>
<complexType name="EntityAttributeExactMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="attributeName" type="afp:string" use="required">
<annotation>
<documentation>The name of the entity attribute to match.</documentation>
</annotation>
</attribute>
<attribute name="attributeValue" type="afp:string" use="required">
<annotation>
<documentation>The value of the entity attribute to match.</documentation>
</annotation>
</attribute>
<attribute name="attributeNameFormat" type="afp:string">
<annotation>
<documentation>The NameFormat of the entity attribute to match.</documentation>
</annotation>
</attribute>
<attribute name="ignoreUnmappedEntityAttributes" type="afp:string">
<annotation>
<documentation>
Boolean attribute, whether to examine only mapped/decoded attributes, default is false.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="EntityAttributeRegexMatch">
<annotation>
<documentation>
A match function that checks if the attribute requester's metadata contains
an entity attribute with a value that matches the given regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityAttributeRegexMatchType"/>
</complexContent>
</complexType>
<complexType name="ProxiedRequesterEntityAttributeRegexMatch">
<annotation>
<documentation>
A match function that checks if a proxied requester's metadata contains
an entity attribute with a value that matches the given regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityAttributeRegexMatchType"/>
</complexContent>
</complexType>
<complexType name="IssuerEntityAttributeRegexMatch">
<annotation>
<documentation>
A match function that checks if the attribute issuer's metadata contains
an entity attribute with a value that matches the given regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityAttributeRegexMatchType"/>
</complexContent>
</complexType>
<complexType name="EntityAttributeRegexMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="attributeName" type="afp:string" use="required">
<annotation>
<documentation>The name of the entity attribute to match.</documentation>
</annotation>
</attribute>
<attribute name="attributeValueRegex" type="afp:string" use="required">
<annotation>
<documentation>The regular expression that must match the value of the entity attribute to
match.</documentation>
</annotation>
</attribute>
<attribute name="attributeNameFormat" type="afp:string">
<annotation>
<documentation>The name format of the entity attribute to match.</documentation>
</annotation>
</attribute>
<attribute name="ignoreUnmappedEntityAttributes" type="afp:string">
<annotation>
<documentation>
Boolean attribute, whether to examine only mapped/decoded attributes, default is false.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="NameIDFormatExactMatch">
<annotation>
<documentation>
A match function that evaluates to true if the attribute requester supports a specified
NameID format.
</documentation>
</annotation>
<complexContent>
<extension base="afp:NameIDFormatExactMatchType"/>
</complexContent>
</complexType>
<complexType name="IssuerNameIDFormatExactMatch">
<annotation>
<documentation>
A match function that evaluates to true if the attribute issuer supports a specified
NameID format.
</documentation>
</annotation>
<complexContent>
<extension base="afp:NameIDFormatExactMatchType"/>
</complexContent>
</complexType>
<complexType name="NameIDFormatExactMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="nameIdFormat" type="afp:string" use="required">
<annotation>
<documentation>The NameID format that needs to be supported by the entity.</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="InEntityGroup">
<annotation>
<documentation>
A match function that evaluates to true if the attribute requester is found in metadata and
is a member of the given entity group.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityGroupMatchType"/>
</complexContent>
</complexType>
<complexType name="ProxiedRequesterInEntityGroup">
<annotation>
<documentation>
A match function that evaluates to true if a proxied requester is found in metadata and
is a member of the given entity group.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityGroupMatchType"/>
</complexContent>
</complexType>
<complexType name="IssuerInEntityGroup">
<annotation>
<documentation>
A match function that evaluates to true if the attribute issuer is found in metadata and
is a member of the given entity group.
</documentation>
</annotation>
<complexContent>
<extension base="afp:EntityGroupMatchType"/>
</complexContent>
</complexType>
<complexType name="EntityGroupMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="groupID" type="afp:string" use="required">
<annotation>
<documentation>The entity group ID that an entity must be in.</documentation>
</annotation>
</attribute>
<attribute name="checkAffiliations" type="afp:string">
<annotation>
<documentation>
Whether to check for membership in metadata-based AffiliationDescriptors.
Defaults to false.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="RegistrationAuthority">
<annotation>
<documentation>
A match function that matches a requester's MDRPI against a list of potential values.
</documentation>
</annotation>
<complexContent>
<extension base="afp:RegistrationAuthorityMatchType" />
</complexContent>
</complexType>
<complexType name="ProxiedRequesterRegistrationAuthority">
<annotation>
<documentation>
A match function that matches a proxied requester's MDRPI against a list of potential values.
</documentation>
</annotation>
<complexContent>
<extension base="afp:RegistrationAuthorityMatchType" />
</complexContent>
</complexType>
<complexType name="IssuerRegistrationAuthority">
<annotation>
<documentation>
A match function that matches the attribute issuer's MDRPI content against a list of potential values.
</documentation>
</annotation>
<complexContent>
<extension base="afp:RegistrationAuthorityMatchType" />
</complexContent>
</complexType>
<complexType name="RegistrationAuthorityMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="registrars" type="afp:anyURIListType" use="required">
<annotation>
<documentation>The string values to match.</documentation>
</annotation>
</attribute>
<attribute name="matchIfMetadataSilent" type="boolean">
<annotation>
<documentation>
A boolean flag indicating whether a match should occur if the metadata does
not contain an MDRPI statement (coded) default is false.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="ScopeMatchesShibMDScope">
<annotation>
<documentation>
A match function that ensures that an attribute value's scope matches a scope given in
metadata for the entity or role of the attribute issuer.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType"/>
</complexContent>
</complexType>
<complexType name="ValueMatchesShibMDScope">
<annotation>
<documentation>
A match function that ensures that an attribute value's scope matches a scope given in
metadata for the entity or role of the attribute issuer.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType"/>
</complexContent>
</complexType>
<complexType name="AttributeInMetadata">
<annotation>
<documentation>
A match function that evaluates to true if an attribute (or specific values) is specified by
the requesting entity's AttributeConsumingService SP metadata.
It supports both explicit checking for a named SAML RequestedAttribute in metadata, or
comparison via the transcoding registry to compare the internal attribute form against
decoded objects produced from the metadata. This is the old "mapped" functionality
in V3 and is now collapsed into one matcher type.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="attributeID" type="afp:string">
<annotation>
<documentation>
The ID of the attribute whose value should be matched. If no attribute ID is specified the
ID of the containing attribute rule is assumed.
</documentation>
</annotation>
</attribute>
<attribute name="onlyIfRequired" type="afp:string">
<annotation>
<documentation>
A boolean flag indicating whether attributes noted as optional should match.
</documentation>
</annotation>
</attribute>
<attribute name="matchIfMetadataSilent" type="afp:string">
<annotation>
<documentation>
A boolean flag indicating whether a match should occur if (after mapping)
the metadata does not contain and Attributes.
</documentation>
</annotation>
</attribute>
<attribute name="attributeName" type="afp:string">
<annotation>
<documentation>The name of a requested attribute to look for.</documentation>
</annotation>
</attribute>
<attribute name="attributeNameFormat" type="afp:string">
<annotation>
<documentation>The name format of a requested attribute to look for.</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<simpleType name="anyURIListType">
<list itemType="string"/>
</simpleType>
<simpleType name="string">
<restriction base="string">
<minLength value="1"/>
</restriction>
</simpleType>
</schema>
|