Fix backslashes in SHIBSP_PREFIX variable by manually creating it during the script...
[shibboleth/sp.git] / schemas / shibboleth-2.0-afp-mf-saml.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <schema targetNamespace="urn:mace:shibboleth:2.0:afp:mf:saml" xmlns="http://www.w3.org/2001/XMLSchema"
4     xmlns:saml="urn:mace:shibboleth:2.0:afp:mf:saml" xmlns:afp="urn:mace:shibboleth:2.0:afp">
5
6     <import namespace="urn:mace:shibboleth:2.0:afp" schemaLocation="classpath:/schema/shibboleth-2.0-afp.xsd" />
7
8     <annotation>
9         <documentation>
10             A set of SAML specific match functions. These match functions only operate against a SAMLFilterContext.
11         </documentation>
12     </annotation>
13
14     <complexType name="AttributeRequesterInEntityGroup">
15         <annotation>
16             <documentation>
17                 A match function that evaluates to true if the attribute requester is found in metadata and is a member
18                 of the given entity group.
19             </documentation>
20         </annotation>
21         <complexContent>
22             <extension base="saml:EntityGroupMatchType" />
23         </complexContent>
24     </complexType>
25
26     <complexType name="AttributeIssuerInEntityGroup">
27         <annotation>
28             <documentation>
29                 A match function that evaluates to true if the attribute producer is found in metadata and is a member
30                 of the given entity group.
31             </documentation>
32         </annotation>
33         <complexContent>
34             <extension base="saml:EntityGroupMatchType" />
35         </complexContent>
36     </complexType>
37
38     <complexType name="EntityGroupMatchType" abstract="true">
39         <complexContent>
40             <extension base="afp:MatchFunctorType">
41                 <attribute name="groupID" type="string" use="required">
42                     <annotation>
43                         <documentation>The entity group ID that an entity must be in.</documentation>
44                     </annotation>
45                 </attribute>
46             </extension>
47         </complexContent>
48     </complexType>
49     
50     <complexType name="AttributeScopeMatchesShibMDScope">
51         <annotation>
52             <documentation>
53                 A match function that ensures that an attributes value's scope matches a scope given in metadata for the entity or role.
54             </documentation>
55         </annotation>
56         <complexContent>
57             <extension base="afp:MatchFunctorType" />
58         </complexContent>
59     </complexType>
60 </schema>