Configuration code for SAML 2 SSO profile handler
[java-idp.git] / resources / classpath / schema / shibboleth-2.0-idp-profile.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <schema targetNamespace="urn:mace:shibboleth:2.0:idp:profiles" xmlns="http://www.w3.org/2001/XMLSchema"
4     xmlns:ph="urn:mace:shibboleth:2.0:profile-handler" xmlns:idpph="urn:mace:shibboleth:2.0:idp:profiles"
5     elementFormDefault="qualified">
6
7     <import namespace="urn:mace:shibboleth:2.0:profile-handler"
8         schemaLocation="classpath:/schema/shibboleth-2.0-profile-handler.xsd" />
9
10     <annotation>
11         <documentation>
12             This schema specifies the configuration options for Shibboleth IdP profile handlers.
13         </documentation>
14     </annotation>
15
16     <complexType name="Status">
17         <annotation>
18             <documentation>Basic handler that returns a general status of the IdP.</documentation>
19         </annotation>
20         <complexContent>
21             <extension base="ph:RequestURIMappedProfileHandlerType" />
22         </complexContent>
23     </complexType>
24
25     <complexType name="SAML2SSO">
26         <annotation>
27             <documentation>Configuration type for SAML 2 Attribute Query profile handlers.</documentation>
28         </annotation>
29         <complexContent>
30             <extension base="idpph:SAML2ProfileHandler">
31                 <attribute name="authenticationManagerPath" type="string" default="/AuthnManager">
32                     <annotation>
33                         <documentation>
34                             The context relative path to the authentication manager used by this profile handler.  This should 
35                             match the URL pattern given in the web.xml
36                         </documentation>
37                     </annotation>
38                 </attribute>
39                 <attribute name="decodingBinding" type="anyURI" default=" urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST">
40                     <annotation>
41                         <documentation>
42                             The URI of the binding used when decoding requests from relying parties.
43                         </documentation>
44                     </annotation>
45                 </attribute>
46                 <attribute name="encodingBinding" type="anyURI" default=" urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST">
47                     <annotation>
48                         <documentation>
49                             The URI of the binding used when encoding responses to relying parties.
50                         </documentation>
51                     </annotation>
52                 </attribute>
53             </extension>
54         </complexContent>
55     </complexType>
56
57     <complexType name="SAML2AttributeQuery">
58         <annotation>
59             <documentation>Configuration type for SAML 2 Attribute Query profile handlers.</documentation>
60         </annotation>
61         <complexContent>
62             <extension base="idpph:SAML2ProfileHandler" />
63         </complexContent>
64     </complexType>
65
66     <complexType name="SAML2ProfileHandler" abstract="true">
67         <annotation>
68             <documentation>Base type for SAML 2 profile handlers.</documentation>
69         </annotation>
70         <complexContent>
71             <extension base="idpph:SAMLProfileHandler" />
72         </complexContent>
73     </complexType>
74
75     <complexType name="SAML1AttributeQuery">
76         <annotation>
77             <documentation>Configuration type for SAML 1 Attribute Query profile handlers.</documentation>
78         </annotation>
79         <complexContent>
80             <extension base="idpph:SAML1ProfileHandler" />
81         </complexContent>
82     </complexType>
83
84     <complexType name="SAML1ProfileHandler" abstract="true">
85         <annotation>
86             <documentation>Base type for SAML 1 profile handlers.</documentation>
87         </annotation>
88         <complexContent>
89             <extension base="idpph:SAMLProfileHandler" />
90         </complexContent>
91     </complexType>
92
93     <complexType name="SAMLProfileHandler" abstract="true">
94         <annotation>
95             <documentation>Base type for Shibboleth IdP SAML profile handlers.</documentation>
96         </annotation>
97         <complexContent>
98             <extension base="idpph:IdPProfileHandlerType">
99                 <attribute name="messageDecoderFactoryId" type="string" default="shibboleth.MessageDecoderFactory">
100                     <annotation>
101                         <documentation>
102                             The component ID of the message decoder to use with the profile handler.
103
104                             This setting should not be changed from its default unless the deployer fully understands
105                             the inter-relationship between IdP components.
106                         </documentation>
107                     </annotation>
108                 </attribute>
109                 <attribute name="messageEncoderFactoryId" type="string" default="shibboleth.MessageEncoderFactory">
110                     <annotation>
111                         <documentation>
112                             The component ID of the message encoder to use with the profile handler.
113
114                             This setting should not be changed from its default unless the deployer fully understands
115                             the inter-relationship between IdP components.
116                         </documentation>
117                     </annotation>
118                 </attribute>
119                 <attribute name="idGeneratorId" type="string" default="shibboleth.IdGenerator">
120                     <annotation>
121                         <documentation>
122                             The component ID of a generator used to generated things like response and assertion IDs.
123
124                             This setting should not be changed from its default unless the deployer fully understands
125                             the inter-relationship between IdP components.
126                         </documentation>
127                     </annotation>
128                 </attribute>
129             </extension>
130         </complexContent>
131     </complexType>
132
133     <complexType name="IdPProfileHandlerType" abstract="true">
134         <annotation>
135             <documentation>Base type for Shibboleth IdP profile handlers.</documentation>
136         </annotation>
137         <complexContent>
138             <extension base="ph:ShibbolethProfileHandlerType" />
139         </complexContent>
140     </complexType>
141
142 </schema>