Start of schema for profile handlers
[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="SAML2SSO">
17         <annotation>
18             <documentation>Configuration type for SAML 2 Attribute Query profile handlers.</documentation>
19         </annotation>
20         <complexContent>
21             <extension base="idpph:SAML2ProfileHandler">
22                 <attribute name="authenticationManagerId" type="string" default="shibboleth.AuthenticationManager">
23                     <annotation>
24                         <documentation>
25                             The component ID of the authentication manager to use with the profile handler.
26
27                             This setting should not be changed from its default unless the deployer fully understands
28                             the inter-relationship between IdP components.
29                         </documentation>
30                     </annotation>
31                 </attribute>
32             </extension>
33         </complexContent>
34     </complexType>
35
36     <complexType name="SAML2AttributeQuery">
37         <annotation>
38             <documentation>Configuration type for SAML 2 Attribute Query profile handlers.</documentation>
39         </annotation>
40         <complexContent>
41             <extension base="idpph:SAML2ProfileHandler" />
42         </complexContent>
43     </complexType>
44
45     <complexType name="SAML2ProfileHandler" abstract="true">
46         <annotation>
47             <documentation>Base type for SAML 2 profile handlers.</documentation>
48         </annotation>
49         <complexContent>
50             <extension base="idpph:SAMLProfileHandler" />
51         </complexContent>
52     </complexType>
53
54     <complexType name="SAML1ProfileHandler" abstract="true">
55         <annotation>
56             <documentation>Base type for SAML 1 profile handlers.</documentation>
57         </annotation>
58         <complexContent>
59             <extension base="idpph:SAMLProfileHandler" />
60         </complexContent>
61     </complexType>
62
63     <complexType name="SAMLProfileHandler" abstract="true">
64         <annotation>
65             <documentation>Base type for Shibboleth IdP SAML profile handlers.</documentation>
66         </annotation>
67         <complexContent>
68             <extension base="idpph:IdPProfileHandlerType">
69                 <attribute name="messageDecoderFactoryId" type="string" default="shibboleth.MessageDecoderFactory">
70                     <annotation>
71                         <documentation>
72                             The component ID of the message decoder to use with the profile handler.
73
74                             This setting should not be changed from its default unless the deployer fully understands
75                             the inter-relationship between IdP components.
76                         </documentation>
77                     </annotation>
78                 </attribute>
79                 <attribute name="messageEncoderFactoryId" type="string" default="shibboleth.MessageEncoderFactory">
80                     <annotation>
81                         <documentation>
82                             The component ID of the message encoder to use with the profile handler.
83
84                             This setting should not be changed from its default unless the deployer fully understands
85                             the inter-relationship between IdP components.
86                         </documentation>
87                     </annotation>
88                 </attribute>
89             </extension>
90         </complexContent>
91     </complexType>
92
93     <complexType name="IdPProfileHandlerType" abstract="true">
94         <annotation>
95             <documentation>Base type for Shibboleth IdP profile handlers.</documentation>
96         </annotation>
97         <complexContent>
98             <extension base="ph:ProfileHandlerType">
99                 <attribute name="relyingPartyManagerId" type="string"
100                     default="shibboleth.RelyingPartyConfigurationManager">
101                     <annotation>
102                         <documentation>
103                             The component ID of the relying party configuration manager to use with the profile handler.
104
105                             This setting should not be changed from its default unless the deployer fully understands
106                             the inter-relationship between IdP components.
107                         </documentation>
108                     </annotation>
109                 </attribute>
110                 <attribute name="sessionManagerId" type="string" default="shibboleth.SessionManager">
111                     <annotation>
112                         <documentation>
113                             The component ID of the session manager to use with the profile handler.
114
115                             This setting should not be changed from its default unless the deployer fully understands
116                             the inter-relationship between IdP components.
117                         </documentation>
118                     </annotation>
119                 </attribute>
120                 <attribute name="securityPolicyFactoryId" type="string" default="shibboleth.SecurityPolicyFactory">
121                     <annotation>
122                         <documentation>
123                             The component ID of the security policy factory to use with the profile handler.
124
125                             This setting should not be changed from its default unless the deployer fully understands
126                             the inter-relationship between IdP components.
127                         </documentation>
128                     </annotation>
129                 </attribute>
130                 <attribute name="trustEngineId" type="string" default="shibboleth.TrustEngine">
131                     <annotation>
132                         <documentation>
133                             The component ID of the trust engine to use with the profile handler.
134
135                             This setting should not be changed from its default unless the deployer fully understands
136                             the inter-relationship between IdP components.
137                         </documentation>
138                     </annotation>
139                 </attribute>
140             </extension>
141         </complexContent>
142     </complexType>
143
144 </schema>