mirror of https://github.com/jacekkow/keycloak-protocol-cas

Jacek Kowalski
2023-11-24 eda11afe10b463af8fc93991f8eb2dd77fbc2c21
commit | author | age
74023a 1 <?xml version="1.0" encoding="UTF-8"?>
EH 2 <schema targetNamespace="urn:oasis:names:tc:SAML:1.0:protocol" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="1.1">
3     <import namespace="urn:oasis:names:tc:SAML:1.0:assertion" schemaLocation="oasis-sstc-saml-schema-assertion-1.1.xsd"/>
99d8b1 4     <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
74023a 5     <annotation>
EH 6         <documentation>
7                 Document identifier: oasis-sstc-saml-schema-protocol-1.1
8                 Location: http://www.oasis-open.org/committees/documents.php?wg_abbrev=security
9                 Revision history:
10                 V1.0 (November, 2002):
11                   Initial standard schema.
12                 V1.1 (September, 2003):
13                   * Note that V1.1 of this schema has the same XML namespace as V1.0.
14                   Rebased ID content directly on XML Schema types
15         </documentation>
16     </annotation>
17     <complexType name="RequestAbstractType" abstract="true">
18         <sequence>
19             <element ref="samlp:RespondWith" minOccurs="0" maxOccurs="unbounded"/>
20             <element ref="ds:Signature" minOccurs="0"/>
21         </sequence>
22         <attribute name="RequestID" type="ID" use="required"/>
23         <attribute name="MajorVersion" type="integer" use="required"/>
24         <attribute name="MinorVersion" type="integer" use="required"/>
25         <attribute name="IssueInstant" type="dateTime" use="required"/>
26     </complexType>
27     <element name="RespondWith" type="QName"/>
28     <element name="Request" type="samlp:RequestType"/>
29     <complexType name="RequestType">
30         <complexContent>
31             <extension base="samlp:RequestAbstractType">
32                 <choice>
33                     <element ref="samlp:Query"/>
34                     <element ref="samlp:SubjectQuery"/>
35                     <element ref="samlp:AuthenticationQuery"/>
36                     <element ref="samlp:AttributeQuery"/>
37                     <element ref="samlp:AuthorizationDecisionQuery"/>
38                     <element ref="saml:AssertionIDReference" maxOccurs="unbounded"/>
39                     <element ref="samlp:AssertionArtifact" maxOccurs="unbounded"/>
40                 </choice>
41             </extension>
42         </complexContent>
43     </complexType>
44     <element name="AssertionArtifact" type="string"/>
45     <element name="Query" type="samlp:QueryAbstractType"/>
46     <complexType name="QueryAbstractType" abstract="true"/>
47     <element name="SubjectQuery" type="samlp:SubjectQueryAbstractType"/>
48     <complexType name="SubjectQueryAbstractType" abstract="true">
49         <complexContent>
50             <extension base="samlp:QueryAbstractType">
51                 <sequence>
52                     <element ref="saml:Subject"/>
53                 </sequence>
54             </extension>
55         </complexContent>
56     </complexType>
57     <element name="AuthenticationQuery" type="samlp:AuthenticationQueryType"/>
58     <complexType name="AuthenticationQueryType">
59         <complexContent>
60             <extension base="samlp:SubjectQueryAbstractType">
61                 <attribute name="AuthenticationMethod" type="anyURI"/>
62             </extension>
63         </complexContent>
64     </complexType>
65     <element name="AttributeQuery" type="samlp:AttributeQueryType"/>
66     <complexType name="AttributeQueryType">
67         <complexContent>
68             <extension base="samlp:SubjectQueryAbstractType">
69                 <sequence>
70                     <element ref="saml:AttributeDesignator" minOccurs="0" maxOccurs="unbounded"/>
71                 </sequence>
72                 <attribute name="Resource" type="anyURI" use="optional"/>
73             </extension>
74         </complexContent>
75     </complexType>
76     <element name="AuthorizationDecisionQuery" type="samlp:AuthorizationDecisionQueryType"/>
77     <complexType name="AuthorizationDecisionQueryType">
78         <complexContent>
79             <extension base="samlp:SubjectQueryAbstractType">
80                 <sequence>
81                     <element ref="saml:Action" maxOccurs="unbounded"/>
82                     <element ref="saml:Evidence" minOccurs="0"/>
83                 </sequence>
84                 <attribute name="Resource" type="anyURI" use="required"/>
85             </extension>
86         </complexContent>
87     </complexType>
88     <complexType name="ResponseAbstractType" abstract="true">
89         <sequence>
90             <element ref="ds:Signature" minOccurs="0"/>
91         </sequence>
92         <attribute name="ResponseID" type="ID" use="required"/>
93         <attribute name="InResponseTo" type="NCName" use="optional"/>
94         <attribute name="MajorVersion" type="integer" use="required"/>
95         <attribute name="MinorVersion" type="integer" use="required"/>
96         <attribute name="IssueInstant" type="dateTime" use="required"/>
97         <attribute name="Recipient" type="anyURI" use="optional"/>
98     </complexType>
99     <element name="Response" type="samlp:ResponseType"/>
100     <complexType name="ResponseType">
101         <complexContent>
102             <extension base="samlp:ResponseAbstractType">
103                 <sequence>
104                     <element ref="samlp:Status"/>
105                     <element ref="saml:Assertion" minOccurs="0" maxOccurs="unbounded"/>
106                 </sequence>
107             </extension>
108         </complexContent>
109     </complexType>
110     <element name="Status" type="samlp:StatusType"/>
111     <complexType name="StatusType">
112         <sequence>
113             <element ref="samlp:StatusCode"/>
114             <element ref="samlp:StatusMessage" minOccurs="0"/>
115             <element ref="samlp:StatusDetail" minOccurs="0"/>
116         </sequence>
117     </complexType>
118     <element name="StatusCode" type="samlp:StatusCodeType"/>
119     <complexType name="StatusCodeType">
120         <sequence>
121             <element ref="samlp:StatusCode" minOccurs="0"/>
122         </sequence>
123         <attribute name="Value" type="QName" use="required"/>
124     </complexType>
125     <element name="StatusMessage" type="string"/>
126     <element name="StatusDetail" type="samlp:StatusDetailType"/>
127     <complexType name="StatusDetailType">
128         <sequence>
129             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
130         </sequence>
131     </complexType>
132 </schema>