A "simple" attribute resolver, and token validation.
[shibboleth/sp.git] / schemas / shibboleth-2.0-simple-resolver.xsd
1 <schema targetNamespace="urn:mace:shibboleth:2.0:resolver:simple" xmlns="http://www.w3.org/2001/XMLSchema"
2     xmlns:resolver="urn:mace:shibboleth:2.0:resolver:simple"
3     xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
4
5     <annotation>
6         <documentation>Shibboleth 2.0 Simple Attribute Resolver configuration schema</documentation>
7     </annotation>
8
9     <import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="saml-schema-assertion-2.0.xsd"/>
10     
11     <element name="AttributeResolver" type="resolver:AttributeResolverType">
12         <annotation>
13             <documentation>Root of the simple attribute resolver configuration file.</documentation>
14         </annotation>
15     </element>
16     <complexType name="AttributeResolverType">
17         <sequence>
18             <element ref="saml:Attribute" minOccurs="0" maxOccurs="unbounded"/>
19         </sequence>
20         <attribute name="allowQuery" type="boolean" default="true"/>
21     </complexType>
22
23     <simpleType name="string">
24         <restriction base="string">
25             <minLength value="1"/>
26         </restriction>
27     </simpleType>
28
29     <attribute name="decoderType" type="resolver:string"/>
30 </schema>