samlesa 2.14.7 → 2.14.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of samlesa might be problematic. Click here for more details.
- package/README.md +8 -7
- package/build/index.js +0 -1
- package/build/src/api.js +2 -2
- package/build/src/binding-post.js +0 -1
- package/build/src/binding-redirect.js +0 -1
- package/build/src/binding-simplesign.js +0 -1
- package/build/src/entity-idp.js +0 -1
- package/build/src/entity-sp.js +0 -1
- package/build/src/entity.js +0 -1
- package/build/src/extractor.js +0 -1
- package/build/src/flow.js +0 -1
- package/build/src/libsaml.js +0 -74
- package/build/src/metadata-idp.js +0 -1
- package/build/src/metadata-sp.js +0 -1
- package/build/src/metadata.js +0 -1
- package/build/src/schema/XMLSchema.dtd +402 -0
- package/build/src/schema/datatypes.dtd +203 -0
- package/build/src/schema/saml-schema-assertion-2.0.xsd +283 -0
- package/build/src/schema/saml-schema-authn-context-2.0.xsd +23 -0
- package/build/src/schema/saml-schema-authn-context-auth-telephony-2.0.xsd +81 -0
- package/build/src/schema/saml-schema-authn-context-ip-2.0.xsd +65 -0
- package/build/src/schema/saml-schema-authn-context-ippword-2.0.xsd +67 -0
- package/build/src/schema/saml-schema-authn-context-kerberos-2.0.xsd +83 -0
- package/build/src/schema/saml-schema-authn-context-mobileonefactor-reg-2.0.xsd +186 -0
- package/build/src/schema/saml-schema-authn-context-mobileonefactor-unreg-2.0.xsd +183 -0
- package/build/src/schema/saml-schema-authn-context-mobiletwofactor-reg-2.0.xsd +202 -0
- package/build/src/schema/saml-schema-authn-context-mobiletwofactor-unreg-2.0.xsd +200 -0
- package/build/src/schema/saml-schema-authn-context-nomad-telephony-2.0.xsd +81 -0
- package/build/src/schema/saml-schema-authn-context-personal-telephony-2.0.xsd +80 -0
- package/build/src/schema/saml-schema-authn-context-pgp-2.0.xsd +83 -0
- package/build/src/schema/saml-schema-authn-context-ppt-2.0.xsd +81 -0
- package/build/src/schema/saml-schema-authn-context-pword-2.0.xsd +64 -0
- package/build/src/schema/saml-schema-authn-context-session-2.0.xsd +64 -0
- package/build/src/schema/saml-schema-authn-context-smartcard-2.0.xsd +64 -0
- package/build/src/schema/saml-schema-authn-context-smartcardpki-2.0.xsd +129 -0
- package/build/src/schema/saml-schema-authn-context-softwarepki-2.0.xsd +129 -0
- package/build/src/schema/saml-schema-authn-context-spki-2.0.xsd +83 -0
- package/build/src/schema/saml-schema-authn-context-srp-2.0.xsd +82 -0
- package/build/src/schema/saml-schema-authn-context-sslcert-2.0.xsd +97 -0
- package/build/src/schema/saml-schema-authn-context-telephony-2.0.xsd +79 -0
- package/build/src/schema/saml-schema-authn-context-timesync-2.0.xsd +105 -0
- package/build/src/schema/saml-schema-authn-context-types-2.0.xsd +821 -0
- package/build/src/schema/saml-schema-authn-context-x509-2.0.xsd +83 -0
- package/build/src/schema/saml-schema-authn-context-xmldsig-2.0.xsd +83 -0
- package/build/src/schema/saml-schema-dce-2.0.xsd +29 -0
- package/build/src/schema/saml-schema-ecp-2.0.xsd +57 -0
- package/build/src/schema/saml-schema-metadata-2.0.xsd +337 -0
- package/build/src/schema/saml-schema-protocol-2.0.xsd +302 -0
- package/build/src/schema/saml-schema-x500-2.0.xsd +20 -0
- package/build/src/schema/saml-schema-xacml-2.0.xsd +19 -0
- package/build/src/schema/xenc-schema.xsd +145 -0
- package/build/src/schema/xmldsig-core-schema.xsd +317 -0
- package/build/src/schemaValidator.js +40 -0
- package/build/src/types.js +0 -1
- package/build/src/urn.js +0 -1
- package/build/src/utility.js +0 -1
- package/build/src/validator.js +0 -1
- package/package.json +80 -75
- package/types/api.d.ts +15 -0
- package/types/api.d.ts.map +1 -0
- package/types/binding-post.d.ts +48 -0
- package/types/binding-post.d.ts.map +1 -0
- package/types/binding-redirect.d.ts +54 -0
- package/types/binding-redirect.d.ts.map +1 -0
- package/types/binding-simplesign.d.ts +41 -0
- package/types/binding-simplesign.d.ts.map +1 -0
- package/types/entity-idp.d.ts +38 -0
- package/types/entity-idp.d.ts.map +1 -0
- package/types/entity-sp.d.ts +38 -0
- package/types/entity-sp.d.ts.map +1 -0
- package/types/entity.d.ts +100 -0
- package/types/entity.d.ts.map +1 -0
- package/types/extractor.d.ts +26 -0
- package/types/extractor.d.ts.map +1 -0
- package/types/flow.d.ts +7 -0
- package/types/flow.d.ts.map +1 -0
- package/types/libsaml.d.ts +208 -0
- package/types/libsaml.d.ts.map +1 -0
- package/types/metadata-idp.d.ts +25 -0
- package/types/metadata-idp.d.ts.map +1 -0
- package/types/metadata-sp.d.ts +37 -0
- package/types/metadata-sp.d.ts.map +1 -0
- package/types/metadata.d.ts +58 -0
- package/types/metadata.d.ts.map +1 -0
- package/types/src/api.d.ts.map +1 -1
- package/types/src/libsaml.d.ts +0 -1
- package/types/src/libsaml.d.ts.map +1 -1
- package/types/src/schemaValidator.d.ts +2 -0
- package/types/src/schemaValidator.d.ts.map +1 -0
- package/types/src/utility.d.ts.map +1 -1
- package/types/types.d.ts +128 -0
- package/types/types.d.ts.map +1 -0
- package/types/urn.d.ts +195 -0
- package/types/urn.d.ts.map +1 -0
- package/types/utility.d.ts +133 -0
- package/types/utility.d.ts.map +1 -0
- package/types/validator.d.ts +4 -0
- package/types/validator.d.ts.map +1 -0
- package/build/index.js.map +0 -1
- package/build/src/api.js.map +0 -1
- package/build/src/binding-post.js.map +0 -1
- package/build/src/binding-redirect.js.map +0 -1
- package/build/src/binding-simplesign.js.map +0 -1
- package/build/src/entity-idp.js.map +0 -1
- package/build/src/entity-sp.js.map +0 -1
- package/build/src/entity.js.map +0 -1
- package/build/src/extractor.js.map +0 -1
- package/build/src/flow.js.map +0 -1
- package/build/src/libsaml.js.map +0 -1
- package/build/src/metadata-idp.js.map +0 -1
- package/build/src/metadata-sp.js.map +0 -1
- package/build/src/metadata.js.map +0 -1
- package/build/src/types.js.map +0 -1
- package/build/src/urn.js.map +0 -1
- package/build/src/utility.js.map +0 -1
- package/build/src/validator.js.map +0 -1
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
DTD for XML Schemas: Part 2: Datatypes
|
|
3
|
+
$Id: datatypes.dtd,v 1.23 2001/03/16 17:36:30 ht Exp $
|
|
4
|
+
Note this DTD is NOT normative, or even definitive. - - the
|
|
5
|
+
prose copy in the datatypes REC is the definitive version
|
|
6
|
+
(which shouldn't differ from this one except for this comment
|
|
7
|
+
and entity expansions, but just in case)
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
<!--
|
|
11
|
+
This DTD cannot be used on its own, it is intended
|
|
12
|
+
only for incorporation in XMLSchema.dtd, q.v.
|
|
13
|
+
-->
|
|
14
|
+
|
|
15
|
+
<!-- Define all the element names, with optional prefix -->
|
|
16
|
+
<!ENTITY % simpleType "%p;simpleType">
|
|
17
|
+
<!ENTITY % restriction "%p;restriction">
|
|
18
|
+
<!ENTITY % list "%p;list">
|
|
19
|
+
<!ENTITY % union "%p;union">
|
|
20
|
+
<!ENTITY % maxExclusive "%p;maxExclusive">
|
|
21
|
+
<!ENTITY % minExclusive "%p;minExclusive">
|
|
22
|
+
<!ENTITY % maxInclusive "%p;maxInclusive">
|
|
23
|
+
<!ENTITY % minInclusive "%p;minInclusive">
|
|
24
|
+
<!ENTITY % totalDigits "%p;totalDigits">
|
|
25
|
+
<!ENTITY % fractionDigits "%p;fractionDigits">
|
|
26
|
+
<!ENTITY % length "%p;length">
|
|
27
|
+
<!ENTITY % minLength "%p;minLength">
|
|
28
|
+
<!ENTITY % maxLength "%p;maxLength">
|
|
29
|
+
<!ENTITY % enumeration "%p;enumeration">
|
|
30
|
+
<!ENTITY % whiteSpace "%p;whiteSpace">
|
|
31
|
+
<!ENTITY % pattern "%p;pattern">
|
|
32
|
+
|
|
33
|
+
<!--
|
|
34
|
+
Customisation entities for the ATTLIST of each element
|
|
35
|
+
type. Define one of these if your schema takes advantage
|
|
36
|
+
of the anyAttribute='##other' in the schema for schemas
|
|
37
|
+
-->
|
|
38
|
+
|
|
39
|
+
<!ENTITY % simpleTypeAttrs "">
|
|
40
|
+
<!ENTITY % restrictionAttrs "">
|
|
41
|
+
<!ENTITY % listAttrs "">
|
|
42
|
+
<!ENTITY % unionAttrs "">
|
|
43
|
+
<!ENTITY % maxExclusiveAttrs "">
|
|
44
|
+
<!ENTITY % minExclusiveAttrs "">
|
|
45
|
+
<!ENTITY % maxInclusiveAttrs "">
|
|
46
|
+
<!ENTITY % minInclusiveAttrs "">
|
|
47
|
+
<!ENTITY % totalDigitsAttrs "">
|
|
48
|
+
<!ENTITY % fractionDigitsAttrs "">
|
|
49
|
+
<!ENTITY % lengthAttrs "">
|
|
50
|
+
<!ENTITY % minLengthAttrs "">
|
|
51
|
+
<!ENTITY % maxLengthAttrs "">
|
|
52
|
+
<!ENTITY % enumerationAttrs "">
|
|
53
|
+
<!ENTITY % whiteSpaceAttrs "">
|
|
54
|
+
<!ENTITY % patternAttrs "">
|
|
55
|
+
|
|
56
|
+
<!-- Define some entities for informative use as attribute
|
|
57
|
+
types -->
|
|
58
|
+
<!ENTITY % URIref "CDATA">
|
|
59
|
+
<!ENTITY % XPathExpr "CDATA">
|
|
60
|
+
<!ENTITY % QName "NMTOKEN">
|
|
61
|
+
<!ENTITY % QNames "NMTOKENS">
|
|
62
|
+
<!ENTITY % NCName "NMTOKEN">
|
|
63
|
+
<!ENTITY % nonNegativeInteger "NMTOKEN">
|
|
64
|
+
<!ENTITY % boolean "(true|false)">
|
|
65
|
+
<!ENTITY % simpleDerivationSet "CDATA">
|
|
66
|
+
<!--
|
|
67
|
+
#all or space-separated list drawn from derivationChoice
|
|
68
|
+
-->
|
|
69
|
+
|
|
70
|
+
<!--
|
|
71
|
+
Note that the use of 'facet' below is less restrictive
|
|
72
|
+
than is really intended: There should in fact be no
|
|
73
|
+
more than one of each of minInclusive, minExclusive,
|
|
74
|
+
maxInclusive, maxExclusive, totalDigits, fractionDigits,
|
|
75
|
+
length, maxLength, minLength within datatype,
|
|
76
|
+
and the min- and max- variants of Inclusive and Exclusive
|
|
77
|
+
are mutually exclusive. On the other hand, pattern and
|
|
78
|
+
enumeration may repeat.
|
|
79
|
+
-->
|
|
80
|
+
<!ENTITY % minBound "(%minInclusive; | %minExclusive;)">
|
|
81
|
+
<!ENTITY % maxBound "(%maxInclusive; | %maxExclusive;)">
|
|
82
|
+
<!ENTITY % bounds "%minBound; | %maxBound;">
|
|
83
|
+
<!ENTITY % numeric "%totalDigits; | %fractionDigits;">
|
|
84
|
+
<!ENTITY % ordered "%bounds; | %numeric;">
|
|
85
|
+
<!ENTITY % unordered
|
|
86
|
+
"%pattern; | %enumeration; | %whiteSpace; | %length; |
|
|
87
|
+
%maxLength; | %minLength;">
|
|
88
|
+
<!ENTITY % facet "%ordered; | %unordered;">
|
|
89
|
+
<!ENTITY % facetAttr
|
|
90
|
+
"value CDATA #REQUIRED
|
|
91
|
+
id ID #IMPLIED">
|
|
92
|
+
<!ENTITY % fixedAttr "fixed %boolean; #IMPLIED">
|
|
93
|
+
<!ENTITY % facetModel "(%annotation;)?">
|
|
94
|
+
<!ELEMENT %simpleType;
|
|
95
|
+
((%annotation;)?, (%restriction; | %list; | %union;))>
|
|
96
|
+
<!ATTLIST %simpleType;
|
|
97
|
+
name %NCName; #IMPLIED
|
|
98
|
+
final %simpleDerivationSet; #IMPLIED
|
|
99
|
+
id ID #IMPLIED
|
|
100
|
+
%simpleTypeAttrs;>
|
|
101
|
+
<!-- name is required at top level -->
|
|
102
|
+
<!ELEMENT %restriction; ((%annotation;)?,
|
|
103
|
+
(%restriction1; |
|
|
104
|
+
((%simpleType;)?,(%facet;)*)),
|
|
105
|
+
(%attrDecls;))>
|
|
106
|
+
<!ATTLIST %restriction;
|
|
107
|
+
base %QName; #IMPLIED
|
|
108
|
+
id ID #IMPLIED
|
|
109
|
+
%restrictionAttrs;>
|
|
110
|
+
<!--
|
|
111
|
+
base and simpleType child are mutually exclusive,
|
|
112
|
+
one is required.
|
|
113
|
+
|
|
114
|
+
restriction is shared between simpleType and
|
|
115
|
+
simpleContent and complexContent (in XMLSchema.xsd).
|
|
116
|
+
restriction1 is for the latter cases, when this
|
|
117
|
+
is restricting a complex type, as is attrDecls.
|
|
118
|
+
-->
|
|
119
|
+
<!ELEMENT %list; ((%annotation;)?,(%simpleType;)?)>
|
|
120
|
+
<!ATTLIST %list;
|
|
121
|
+
itemType %QName; #IMPLIED
|
|
122
|
+
id ID #IMPLIED
|
|
123
|
+
%listAttrs;>
|
|
124
|
+
<!--
|
|
125
|
+
itemType and simpleType child are mutually exclusive,
|
|
126
|
+
one is required
|
|
127
|
+
-->
|
|
128
|
+
<!ELEMENT %union; ((%annotation;)?,(%simpleType;)*)>
|
|
129
|
+
<!ATTLIST %union;
|
|
130
|
+
id ID #IMPLIED
|
|
131
|
+
memberTypes %QNames; #IMPLIED
|
|
132
|
+
%unionAttrs;>
|
|
133
|
+
<!--
|
|
134
|
+
At least one item in memberTypes or one simpleType
|
|
135
|
+
child is required
|
|
136
|
+
-->
|
|
137
|
+
|
|
138
|
+
<!ELEMENT %maxExclusive; %facetModel;>
|
|
139
|
+
<!ATTLIST %maxExclusive;
|
|
140
|
+
%facetAttr;
|
|
141
|
+
%fixedAttr;
|
|
142
|
+
%maxExclusiveAttrs;>
|
|
143
|
+
<!ELEMENT %minExclusive; %facetModel;>
|
|
144
|
+
<!ATTLIST %minExclusive;
|
|
145
|
+
%facetAttr;
|
|
146
|
+
%fixedAttr;
|
|
147
|
+
%minExclusiveAttrs;>
|
|
148
|
+
|
|
149
|
+
<!ELEMENT %maxInclusive; %facetModel;>
|
|
150
|
+
<!ATTLIST %maxInclusive;
|
|
151
|
+
%facetAttr;
|
|
152
|
+
%fixedAttr;
|
|
153
|
+
%maxInclusiveAttrs;>
|
|
154
|
+
<!ELEMENT %minInclusive; %facetModel;>
|
|
155
|
+
<!ATTLIST %minInclusive;
|
|
156
|
+
%facetAttr;
|
|
157
|
+
%fixedAttr;
|
|
158
|
+
%minInclusiveAttrs;>
|
|
159
|
+
|
|
160
|
+
<!ELEMENT %totalDigits; %facetModel;>
|
|
161
|
+
<!ATTLIST %totalDigits;
|
|
162
|
+
%facetAttr;
|
|
163
|
+
%fixedAttr;
|
|
164
|
+
%totalDigitsAttrs;>
|
|
165
|
+
<!ELEMENT %fractionDigits; %facetModel;>
|
|
166
|
+
<!ATTLIST %fractionDigits;
|
|
167
|
+
%facetAttr;
|
|
168
|
+
%fixedAttr;
|
|
169
|
+
%fractionDigitsAttrs;>
|
|
170
|
+
|
|
171
|
+
<!ELEMENT %length; %facetModel;>
|
|
172
|
+
<!ATTLIST %length;
|
|
173
|
+
%facetAttr;
|
|
174
|
+
%fixedAttr;
|
|
175
|
+
%lengthAttrs;>
|
|
176
|
+
<!ELEMENT %minLength; %facetModel;>
|
|
177
|
+
<!ATTLIST %minLength;
|
|
178
|
+
%facetAttr;
|
|
179
|
+
%fixedAttr;
|
|
180
|
+
%minLengthAttrs;>
|
|
181
|
+
<!ELEMENT %maxLength; %facetModel;>
|
|
182
|
+
<!ATTLIST %maxLength;
|
|
183
|
+
%facetAttr;
|
|
184
|
+
%fixedAttr;
|
|
185
|
+
%maxLengthAttrs;>
|
|
186
|
+
|
|
187
|
+
<!-- This one can be repeated -->
|
|
188
|
+
<!ELEMENT %enumeration; %facetModel;>
|
|
189
|
+
<!ATTLIST %enumeration;
|
|
190
|
+
%facetAttr;
|
|
191
|
+
%enumerationAttrs;>
|
|
192
|
+
|
|
193
|
+
<!ELEMENT %whiteSpace; %facetModel;>
|
|
194
|
+
<!ATTLIST %whiteSpace;
|
|
195
|
+
%facetAttr;
|
|
196
|
+
%fixedAttr;
|
|
197
|
+
%whiteSpaceAttrs;>
|
|
198
|
+
|
|
199
|
+
<!-- This one can be repeated -->
|
|
200
|
+
<!ELEMENT %pattern; %facetModel;>
|
|
201
|
+
<!ATTLIST %pattern;
|
|
202
|
+
%facetAttr;
|
|
203
|
+
%patternAttrs;>
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="US-ASCII"?>
|
|
2
|
+
<schema
|
|
3
|
+
targetNamespace="urn:oasis:names:tc:SAML:2.0:assertion"
|
|
4
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
|
|
6
|
+
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
|
7
|
+
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
|
|
8
|
+
elementFormDefault="unqualified"
|
|
9
|
+
attributeFormDefault="unqualified"
|
|
10
|
+
blockDefault="substitution"
|
|
11
|
+
version="2.0">
|
|
12
|
+
<import namespace="http://www.w3.org/2000/09/xmldsig#"
|
|
13
|
+
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
|
|
14
|
+
<import namespace="http://www.w3.org/2001/04/xmlenc#"
|
|
15
|
+
schemaLocation="http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/xenc-schema.xsd"/>
|
|
16
|
+
<annotation>
|
|
17
|
+
<documentation>
|
|
18
|
+
Document identifier: saml-schema-assertion-2.0
|
|
19
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
|
20
|
+
Revision history:
|
|
21
|
+
V1.0 (November, 2002):
|
|
22
|
+
Initial Standard Schema.
|
|
23
|
+
V1.1 (September, 2003):
|
|
24
|
+
Updates within the same V1.0 namespace.
|
|
25
|
+
V2.0 (March, 2005):
|
|
26
|
+
New assertion schema for SAML V2.0 namespace.
|
|
27
|
+
</documentation>
|
|
28
|
+
</annotation>
|
|
29
|
+
<attributeGroup name="IDNameQualifiers">
|
|
30
|
+
<attribute name="NameQualifier" type="string" use="optional"/>
|
|
31
|
+
<attribute name="SPNameQualifier" type="string" use="optional"/>
|
|
32
|
+
</attributeGroup>
|
|
33
|
+
<element name="BaseID" type="saml:BaseIDAbstractType"/>
|
|
34
|
+
<complexType name="BaseIDAbstractType" abstract="true">
|
|
35
|
+
<attributeGroup ref="saml:IDNameQualifiers"/>
|
|
36
|
+
</complexType>
|
|
37
|
+
<element name="NameID" type="saml:NameIDType"/>
|
|
38
|
+
<complexType name="NameIDType">
|
|
39
|
+
<simpleContent>
|
|
40
|
+
<extension base="string">
|
|
41
|
+
<attributeGroup ref="saml:IDNameQualifiers"/>
|
|
42
|
+
<attribute name="Format" type="anyURI" use="optional"/>
|
|
43
|
+
<attribute name="SPProvidedID" type="string" use="optional"/>
|
|
44
|
+
</extension>
|
|
45
|
+
</simpleContent>
|
|
46
|
+
</complexType>
|
|
47
|
+
<complexType name="EncryptedElementType">
|
|
48
|
+
<sequence>
|
|
49
|
+
<element ref="xenc:EncryptedData"/>
|
|
50
|
+
<element ref="xenc:EncryptedKey" minOccurs="0" maxOccurs="unbounded"/>
|
|
51
|
+
</sequence>
|
|
52
|
+
</complexType>
|
|
53
|
+
<element name="EncryptedID" type="saml:EncryptedElementType"/>
|
|
54
|
+
<element name="Issuer" type="saml:NameIDType"/>
|
|
55
|
+
<element name="AssertionIDRef" type="NCName"/>
|
|
56
|
+
<element name="AssertionURIRef" type="anyURI"/>
|
|
57
|
+
<element name="Assertion" type="saml:AssertionType"/>
|
|
58
|
+
<complexType name="AssertionType">
|
|
59
|
+
<sequence>
|
|
60
|
+
<element ref="saml:Issuer"/>
|
|
61
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
|
62
|
+
<element ref="saml:Subject" minOccurs="0"/>
|
|
63
|
+
<element ref="saml:Conditions" minOccurs="0"/>
|
|
64
|
+
<element ref="saml:Advice" minOccurs="0"/>
|
|
65
|
+
<choice minOccurs="0" maxOccurs="unbounded">
|
|
66
|
+
<element ref="saml:Statement"/>
|
|
67
|
+
<element ref="saml:AuthnStatement"/>
|
|
68
|
+
<element ref="saml:AuthzDecisionStatement"/>
|
|
69
|
+
<element ref="saml:AttributeStatement"/>
|
|
70
|
+
</choice>
|
|
71
|
+
</sequence>
|
|
72
|
+
<attribute name="Version" type="string" use="required"/>
|
|
73
|
+
<attribute name="ID" type="ID" use="required"/>
|
|
74
|
+
<attribute name="IssueInstant" type="dateTime" use="required"/>
|
|
75
|
+
</complexType>
|
|
76
|
+
<element name="Subject" type="saml:SubjectType"/>
|
|
77
|
+
<complexType name="SubjectType">
|
|
78
|
+
<choice>
|
|
79
|
+
<sequence>
|
|
80
|
+
<choice>
|
|
81
|
+
<element ref="saml:BaseID"/>
|
|
82
|
+
<element ref="saml:NameID"/>
|
|
83
|
+
<element ref="saml:EncryptedID"/>
|
|
84
|
+
</choice>
|
|
85
|
+
<element ref="saml:SubjectConfirmation" minOccurs="0" maxOccurs="unbounded"/>
|
|
86
|
+
</sequence>
|
|
87
|
+
<element ref="saml:SubjectConfirmation" maxOccurs="unbounded"/>
|
|
88
|
+
</choice>
|
|
89
|
+
</complexType>
|
|
90
|
+
<element name="SubjectConfirmation" type="saml:SubjectConfirmationType"/>
|
|
91
|
+
<complexType name="SubjectConfirmationType">
|
|
92
|
+
<sequence>
|
|
93
|
+
<choice minOccurs="0">
|
|
94
|
+
<element ref="saml:BaseID"/>
|
|
95
|
+
<element ref="saml:NameID"/>
|
|
96
|
+
<element ref="saml:EncryptedID"/>
|
|
97
|
+
</choice>
|
|
98
|
+
<element ref="saml:SubjectConfirmationData" minOccurs="0"/>
|
|
99
|
+
</sequence>
|
|
100
|
+
<attribute name="Method" type="anyURI" use="required"/>
|
|
101
|
+
</complexType>
|
|
102
|
+
<element name="SubjectConfirmationData" type="saml:SubjectConfirmationDataType"/>
|
|
103
|
+
<complexType name="SubjectConfirmationDataType" mixed="true">
|
|
104
|
+
<complexContent>
|
|
105
|
+
<restriction base="anyType">
|
|
106
|
+
<sequence>
|
|
107
|
+
<any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
|
108
|
+
</sequence>
|
|
109
|
+
<attribute name="NotBefore" type="dateTime" use="optional"/>
|
|
110
|
+
<attribute name="NotOnOrAfter" type="dateTime" use="optional"/>
|
|
111
|
+
<attribute name="Recipient" type="anyURI" use="optional"/>
|
|
112
|
+
<attribute name="InResponseTo" type="NCName" use="optional"/>
|
|
113
|
+
<attribute name="Address" type="string" use="optional"/>
|
|
114
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
115
|
+
</restriction>
|
|
116
|
+
</complexContent>
|
|
117
|
+
</complexType>
|
|
118
|
+
<complexType name="KeyInfoConfirmationDataType" mixed="false">
|
|
119
|
+
<complexContent>
|
|
120
|
+
<restriction base="saml:SubjectConfirmationDataType">
|
|
121
|
+
<sequence>
|
|
122
|
+
<element ref="ds:KeyInfo" maxOccurs="unbounded"/>
|
|
123
|
+
</sequence>
|
|
124
|
+
</restriction>
|
|
125
|
+
</complexContent>
|
|
126
|
+
</complexType>
|
|
127
|
+
<element name="Conditions" type="saml:ConditionsType"/>
|
|
128
|
+
<complexType name="ConditionsType">
|
|
129
|
+
<choice minOccurs="0" maxOccurs="unbounded">
|
|
130
|
+
<element ref="saml:Condition"/>
|
|
131
|
+
<element ref="saml:AudienceRestriction"/>
|
|
132
|
+
<element ref="saml:OneTimeUse"/>
|
|
133
|
+
<element ref="saml:ProxyRestriction"/>
|
|
134
|
+
</choice>
|
|
135
|
+
<attribute name="NotBefore" type="dateTime" use="optional"/>
|
|
136
|
+
<attribute name="NotOnOrAfter" type="dateTime" use="optional"/>
|
|
137
|
+
</complexType>
|
|
138
|
+
<element name="Condition" type="saml:ConditionAbstractType"/>
|
|
139
|
+
<complexType name="ConditionAbstractType" abstract="true"/>
|
|
140
|
+
<element name="AudienceRestriction" type="saml:AudienceRestrictionType"/>
|
|
141
|
+
<complexType name="AudienceRestrictionType">
|
|
142
|
+
<complexContent>
|
|
143
|
+
<extension base="saml:ConditionAbstractType">
|
|
144
|
+
<sequence>
|
|
145
|
+
<element ref="saml:Audience" maxOccurs="unbounded"/>
|
|
146
|
+
</sequence>
|
|
147
|
+
</extension>
|
|
148
|
+
</complexContent>
|
|
149
|
+
</complexType>
|
|
150
|
+
<element name="Audience" type="anyURI"/>
|
|
151
|
+
<element name="OneTimeUse" type="saml:OneTimeUseType" />
|
|
152
|
+
<complexType name="OneTimeUseType">
|
|
153
|
+
<complexContent>
|
|
154
|
+
<extension base="saml:ConditionAbstractType"/>
|
|
155
|
+
</complexContent>
|
|
156
|
+
</complexType>
|
|
157
|
+
<element name="ProxyRestriction" type="saml:ProxyRestrictionType"/>
|
|
158
|
+
<complexType name="ProxyRestrictionType">
|
|
159
|
+
<complexContent>
|
|
160
|
+
<extension base="saml:ConditionAbstractType">
|
|
161
|
+
<sequence>
|
|
162
|
+
<element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
|
|
163
|
+
</sequence>
|
|
164
|
+
<attribute name="Count" type="nonNegativeInteger" use="optional"/>
|
|
165
|
+
</extension>
|
|
166
|
+
</complexContent>
|
|
167
|
+
</complexType>
|
|
168
|
+
<element name="Advice" type="saml:AdviceType"/>
|
|
169
|
+
<complexType name="AdviceType">
|
|
170
|
+
<choice minOccurs="0" maxOccurs="unbounded">
|
|
171
|
+
<element ref="saml:AssertionIDRef"/>
|
|
172
|
+
<element ref="saml:AssertionURIRef"/>
|
|
173
|
+
<element ref="saml:Assertion"/>
|
|
174
|
+
<element ref="saml:EncryptedAssertion"/>
|
|
175
|
+
<any namespace="##other" processContents="lax"/>
|
|
176
|
+
</choice>
|
|
177
|
+
</complexType>
|
|
178
|
+
<element name="EncryptedAssertion" type="saml:EncryptedElementType"/>
|
|
179
|
+
<element name="Statement" type="saml:StatementAbstractType"/>
|
|
180
|
+
<complexType name="StatementAbstractType" abstract="true"/>
|
|
181
|
+
<element name="AuthnStatement" type="saml:AuthnStatementType"/>
|
|
182
|
+
<complexType name="AuthnStatementType">
|
|
183
|
+
<complexContent>
|
|
184
|
+
<extension base="saml:StatementAbstractType">
|
|
185
|
+
<sequence>
|
|
186
|
+
<element ref="saml:SubjectLocality" minOccurs="0"/>
|
|
187
|
+
<element ref="saml:AuthnContext"/>
|
|
188
|
+
</sequence>
|
|
189
|
+
<attribute name="AuthnInstant" type="dateTime" use="required"/>
|
|
190
|
+
<attribute name="SessionIndex" type="string" use="optional"/>
|
|
191
|
+
<attribute name="SessionNotOnOrAfter" type="dateTime" use="optional"/>
|
|
192
|
+
</extension>
|
|
193
|
+
</complexContent>
|
|
194
|
+
</complexType>
|
|
195
|
+
<element name="SubjectLocality" type="saml:SubjectLocalityType"/>
|
|
196
|
+
<complexType name="SubjectLocalityType">
|
|
197
|
+
<attribute name="Address" type="string" use="optional"/>
|
|
198
|
+
<attribute name="DNSName" type="string" use="optional"/>
|
|
199
|
+
</complexType>
|
|
200
|
+
<element name="AuthnContext" type="saml:AuthnContextType"/>
|
|
201
|
+
<complexType name="AuthnContextType">
|
|
202
|
+
<sequence>
|
|
203
|
+
<choice>
|
|
204
|
+
<sequence>
|
|
205
|
+
<element ref="saml:AuthnContextClassRef"/>
|
|
206
|
+
<choice minOccurs="0">
|
|
207
|
+
<element ref="saml:AuthnContextDecl"/>
|
|
208
|
+
<element ref="saml:AuthnContextDeclRef"/>
|
|
209
|
+
</choice>
|
|
210
|
+
</sequence>
|
|
211
|
+
<choice>
|
|
212
|
+
<element ref="saml:AuthnContextDecl"/>
|
|
213
|
+
<element ref="saml:AuthnContextDeclRef"/>
|
|
214
|
+
</choice>
|
|
215
|
+
</choice>
|
|
216
|
+
<element ref="saml:AuthenticatingAuthority" minOccurs="0" maxOccurs="unbounded"/>
|
|
217
|
+
</sequence>
|
|
218
|
+
</complexType>
|
|
219
|
+
<element name="AuthnContextClassRef" type="anyURI"/>
|
|
220
|
+
<element name="AuthnContextDeclRef" type="anyURI"/>
|
|
221
|
+
<element name="AuthnContextDecl" type="anyType"/>
|
|
222
|
+
<element name="AuthenticatingAuthority" type="anyURI"/>
|
|
223
|
+
<element name="AuthzDecisionStatement" type="saml:AuthzDecisionStatementType"/>
|
|
224
|
+
<complexType name="AuthzDecisionStatementType">
|
|
225
|
+
<complexContent>
|
|
226
|
+
<extension base="saml:StatementAbstractType">
|
|
227
|
+
<sequence>
|
|
228
|
+
<element ref="saml:Action" maxOccurs="unbounded"/>
|
|
229
|
+
<element ref="saml:Evidence" minOccurs="0"/>
|
|
230
|
+
</sequence>
|
|
231
|
+
<attribute name="Resource" type="anyURI" use="required"/>
|
|
232
|
+
<attribute name="Decision" type="saml:DecisionType" use="required"/>
|
|
233
|
+
</extension>
|
|
234
|
+
</complexContent>
|
|
235
|
+
</complexType>
|
|
236
|
+
<simpleType name="DecisionType">
|
|
237
|
+
<restriction base="string">
|
|
238
|
+
<enumeration value="Permit"/>
|
|
239
|
+
<enumeration value="Deny"/>
|
|
240
|
+
<enumeration value="Indeterminate"/>
|
|
241
|
+
</restriction>
|
|
242
|
+
</simpleType>
|
|
243
|
+
<element name="Action" type="saml:ActionType"/>
|
|
244
|
+
<complexType name="ActionType">
|
|
245
|
+
<simpleContent>
|
|
246
|
+
<extension base="string">
|
|
247
|
+
<attribute name="Namespace" type="anyURI" use="required"/>
|
|
248
|
+
</extension>
|
|
249
|
+
</simpleContent>
|
|
250
|
+
</complexType>
|
|
251
|
+
<element name="Evidence" type="saml:EvidenceType"/>
|
|
252
|
+
<complexType name="EvidenceType">
|
|
253
|
+
<choice maxOccurs="unbounded">
|
|
254
|
+
<element ref="saml:AssertionIDRef"/>
|
|
255
|
+
<element ref="saml:AssertionURIRef"/>
|
|
256
|
+
<element ref="saml:Assertion"/>
|
|
257
|
+
<element ref="saml:EncryptedAssertion"/>
|
|
258
|
+
</choice>
|
|
259
|
+
</complexType>
|
|
260
|
+
<element name="AttributeStatement" type="saml:AttributeStatementType"/>
|
|
261
|
+
<complexType name="AttributeStatementType">
|
|
262
|
+
<complexContent>
|
|
263
|
+
<extension base="saml:StatementAbstractType">
|
|
264
|
+
<choice maxOccurs="unbounded">
|
|
265
|
+
<element ref="saml:Attribute"/>
|
|
266
|
+
<element ref="saml:EncryptedAttribute"/>
|
|
267
|
+
</choice>
|
|
268
|
+
</extension>
|
|
269
|
+
</complexContent>
|
|
270
|
+
</complexType>
|
|
271
|
+
<element name="Attribute" type="saml:AttributeType"/>
|
|
272
|
+
<complexType name="AttributeType">
|
|
273
|
+
<sequence>
|
|
274
|
+
<element ref="saml:AttributeValue" minOccurs="0" maxOccurs="unbounded"/>
|
|
275
|
+
</sequence>
|
|
276
|
+
<attribute name="Name" type="string" use="required"/>
|
|
277
|
+
<attribute name="NameFormat" type="anyURI" use="optional"/>
|
|
278
|
+
<attribute name="FriendlyName" type="string" use="optional"/>
|
|
279
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
280
|
+
</complexType>
|
|
281
|
+
<element name="AttributeValue" type="anyType" nillable="true"/>
|
|
282
|
+
<element name="EncryptedAttribute" type="saml:EncryptedElementType"/>
|
|
283
|
+
</schema>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema
|
|
3
|
+
targetNamespace="urn:oasis:names:tc:SAML:2.0:ac"
|
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns="urn:oasis:names:tc:SAML:2.0:ac"
|
|
6
|
+
blockDefault="substitution"
|
|
7
|
+
version="2.0">
|
|
8
|
+
|
|
9
|
+
<xs:annotation>
|
|
10
|
+
<xs:documentation>
|
|
11
|
+
Document identifier: saml-schema-authn-context-2.0
|
|
12
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
|
13
|
+
Revision history:
|
|
14
|
+
V2.0 (March, 2005):
|
|
15
|
+
New core authentication context schema for SAML V2.0.
|
|
16
|
+
This is just an include of all types from the schema
|
|
17
|
+
referred to in the include statement below.
|
|
18
|
+
</xs:documentation>
|
|
19
|
+
</xs:annotation>
|
|
20
|
+
|
|
21
|
+
<xs:include schemaLocation="saml-schema-authn-context-types-2.0.xsd"/>
|
|
22
|
+
|
|
23
|
+
</xs:schema>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
|
|
3
|
+
<xs:schema targetNamespace="urn:oasis:names:tc:SAML:2.0:ac:classes:AuthenticatedTelephony"
|
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns="urn:oasis:names:tc:SAML:2.0:ac:classes:AuthenticatedTelephony"
|
|
6
|
+
finalDefault="extension"
|
|
7
|
+
blockDefault="substitution"
|
|
8
|
+
version="2.0">
|
|
9
|
+
|
|
10
|
+
<xs:redefine schemaLocation="saml-schema-authn-context-types-2.0.xsd">
|
|
11
|
+
|
|
12
|
+
<xs:annotation>
|
|
13
|
+
<xs:documentation>
|
|
14
|
+
Class identifier: urn:oasis:names:tc:SAML:2.0:ac:classes:AuthenticatedTelephony
|
|
15
|
+
Document identifier: saml-schema-authn-context-auth-telephony-2.0
|
|
16
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
|
17
|
+
Revision history:
|
|
18
|
+
V2.0 (March, 2005):
|
|
19
|
+
New authentication context class schema for SAML V2.0.
|
|
20
|
+
</xs:documentation>
|
|
21
|
+
</xs:annotation>
|
|
22
|
+
|
|
23
|
+
<xs:complexType name="AuthnContextDeclarationBaseType">
|
|
24
|
+
<xs:complexContent>
|
|
25
|
+
<xs:restriction base="AuthnContextDeclarationBaseType">
|
|
26
|
+
<xs:sequence>
|
|
27
|
+
<xs:element ref="Identification" minOccurs="0"/>
|
|
28
|
+
<xs:element ref="TechnicalProtection" minOccurs="0"/>
|
|
29
|
+
<xs:element ref="OperationalProtection" minOccurs="0"/>
|
|
30
|
+
<xs:element ref="AuthnMethod"/>
|
|
31
|
+
<xs:element ref="GoverningAgreements" minOccurs="0"/>
|
|
32
|
+
<xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
|
|
33
|
+
</xs:sequence>
|
|
34
|
+
<xs:attribute name="ID" type="xs:ID" use="optional"/>
|
|
35
|
+
</xs:restriction>
|
|
36
|
+
</xs:complexContent>
|
|
37
|
+
</xs:complexType>
|
|
38
|
+
|
|
39
|
+
<xs:complexType name="AuthnMethodBaseType">
|
|
40
|
+
<xs:complexContent>
|
|
41
|
+
<xs:restriction base="AuthnMethodBaseType">
|
|
42
|
+
<xs:sequence>
|
|
43
|
+
<xs:element ref="PrincipalAuthenticationMechanism" minOccurs="0"/>
|
|
44
|
+
<xs:element ref="Authenticator"/>
|
|
45
|
+
<xs:element ref="AuthenticatorTransportProtocol"/>
|
|
46
|
+
<xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
|
|
47
|
+
</xs:sequence>
|
|
48
|
+
</xs:restriction>
|
|
49
|
+
</xs:complexContent>
|
|
50
|
+
</xs:complexType>
|
|
51
|
+
|
|
52
|
+
<xs:complexType name="AuthenticatorBaseType">
|
|
53
|
+
<xs:complexContent>
|
|
54
|
+
<xs:restriction base="AuthenticatorBaseType">
|
|
55
|
+
<xs:sequence>
|
|
56
|
+
<xs:element ref="Password"/>
|
|
57
|
+
<xs:element ref="SubscriberLineNumber"/>
|
|
58
|
+
<xs:element ref="UserSuffix"/>
|
|
59
|
+
</xs:sequence>
|
|
60
|
+
</xs:restriction>
|
|
61
|
+
</xs:complexContent>
|
|
62
|
+
</xs:complexType>
|
|
63
|
+
|
|
64
|
+
<xs:complexType name="AuthenticatorTransportProtocolType">
|
|
65
|
+
<xs:complexContent>
|
|
66
|
+
<xs:restriction base="AuthenticatorTransportProtocolType">
|
|
67
|
+
<xs:sequence>
|
|
68
|
+
<xs:choice>
|
|
69
|
+
<xs:element ref="PSTN"/>
|
|
70
|
+
<xs:element ref="ISDN"/>
|
|
71
|
+
<xs:element ref="ADSL"/>
|
|
72
|
+
</xs:choice>
|
|
73
|
+
<xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
|
|
74
|
+
</xs:sequence>
|
|
75
|
+
</xs:restriction>
|
|
76
|
+
</xs:complexContent>
|
|
77
|
+
</xs:complexType>
|
|
78
|
+
|
|
79
|
+
</xs:redefine>
|
|
80
|
+
|
|
81
|
+
</xs:schema>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
|
|
3
|
+
<xs:schema
|
|
4
|
+
targetNamespace="urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol"
|
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
6
|
+
xmlns="urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol"
|
|
7
|
+
finalDefault="extension"
|
|
8
|
+
blockDefault="substitution"
|
|
9
|
+
version="2.0">
|
|
10
|
+
|
|
11
|
+
<xs:redefine schemaLocation="saml-schema-authn-context-types-2.0.xsd">
|
|
12
|
+
|
|
13
|
+
<xs:annotation>
|
|
14
|
+
<xs:documentation>
|
|
15
|
+
Class identifier: urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol
|
|
16
|
+
Document identifier: saml-schema-authn-context-ip-2.0
|
|
17
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
|
18
|
+
Revision history:
|
|
19
|
+
V2.0 (March, 2005):
|
|
20
|
+
New authentication context class schema for SAML V2.0.
|
|
21
|
+
</xs:documentation>
|
|
22
|
+
</xs:annotation>
|
|
23
|
+
|
|
24
|
+
<xs:complexType name="AuthnContextDeclarationBaseType">
|
|
25
|
+
<xs:complexContent>
|
|
26
|
+
<xs:restriction base="AuthnContextDeclarationBaseType">
|
|
27
|
+
<xs:sequence>
|
|
28
|
+
<xs:element ref="Identification" minOccurs="0"/>
|
|
29
|
+
<xs:element ref="TechnicalProtection" minOccurs="0"/>
|
|
30
|
+
<xs:element ref="OperationalProtection" minOccurs="0"/>
|
|
31
|
+
<xs:element ref="AuthnMethod"/>
|
|
32
|
+
<xs:element ref="GoverningAgreements" minOccurs="0"/>
|
|
33
|
+
<xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
|
|
34
|
+
</xs:sequence>
|
|
35
|
+
<xs:attribute name="ID" type="xs:ID" use="optional"/>
|
|
36
|
+
</xs:restriction>
|
|
37
|
+
</xs:complexContent>
|
|
38
|
+
</xs:complexType>
|
|
39
|
+
|
|
40
|
+
<xs:complexType name="AuthnMethodBaseType">
|
|
41
|
+
<xs:complexContent>
|
|
42
|
+
<xs:restriction base="AuthnMethodBaseType">
|
|
43
|
+
<xs:sequence>
|
|
44
|
+
<xs:element ref="PrincipalAuthenticationMechanism" minOccurs="0"/>
|
|
45
|
+
<xs:element ref="Authenticator"/>
|
|
46
|
+
<xs:element ref="AuthenticatorTransportProtocol" minOccurs="0"/>
|
|
47
|
+
<xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
|
|
48
|
+
</xs:sequence>
|
|
49
|
+
</xs:restriction>
|
|
50
|
+
</xs:complexContent>
|
|
51
|
+
</xs:complexType>
|
|
52
|
+
|
|
53
|
+
<xs:complexType name="AuthenticatorBaseType">
|
|
54
|
+
<xs:complexContent>
|
|
55
|
+
<xs:restriction base="AuthenticatorBaseType">
|
|
56
|
+
<xs:sequence>
|
|
57
|
+
<xs:element ref="IPAddress"/>
|
|
58
|
+
</xs:sequence>
|
|
59
|
+
</xs:restriction>
|
|
60
|
+
</xs:complexContent>
|
|
61
|
+
</xs:complexType>
|
|
62
|
+
|
|
63
|
+
</xs:redefine>
|
|
64
|
+
|
|
65
|
+
</xs:schema>
|