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,83 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
|
|
3
|
+
<xs:schema targetNamespace="urn:oasis:names:tc:SAML:2.0:ac:classes:X509"
|
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns="urn:oasis:names:tc:SAML:2.0:ac:classes:X509"
|
|
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:X509
|
|
15
|
+
Document identifier: saml-schema-authn-context-x509-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"/>
|
|
44
|
+
<xs:element ref="Authenticator"/>
|
|
45
|
+
<xs:element ref="AuthenticatorTransportProtocol" minOccurs="0"/>
|
|
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="PrincipalAuthenticationMechanismType">
|
|
53
|
+
<xs:complexContent>
|
|
54
|
+
<xs:restriction base="PrincipalAuthenticationMechanismType">
|
|
55
|
+
<xs:sequence>
|
|
56
|
+
<xs:element ref="RestrictedPassword"/>
|
|
57
|
+
</xs:sequence>
|
|
58
|
+
<xs:attribute name="preauth" type="xs:integer" use="optional"/>
|
|
59
|
+
</xs:restriction>
|
|
60
|
+
</xs:complexContent>
|
|
61
|
+
</xs:complexType>
|
|
62
|
+
|
|
63
|
+
<xs:complexType name="AuthenticatorBaseType">
|
|
64
|
+
<xs:complexContent>
|
|
65
|
+
<xs:restriction base="AuthenticatorBaseType">
|
|
66
|
+
<xs:sequence>
|
|
67
|
+
<xs:element ref="DigSig"/>
|
|
68
|
+
</xs:sequence>
|
|
69
|
+
</xs:restriction>
|
|
70
|
+
</xs:complexContent>
|
|
71
|
+
</xs:complexType>
|
|
72
|
+
|
|
73
|
+
<xs:complexType name="PublicKeyType">
|
|
74
|
+
<xs:complexContent>
|
|
75
|
+
<xs:restriction base="PublicKeyType">
|
|
76
|
+
<xs:attribute name="keyValidation" type="xs:anyURI" fixed="urn:oasis:names:tc:SAML:2.0:ac:classes:X509"/>
|
|
77
|
+
</xs:restriction>
|
|
78
|
+
</xs:complexContent>
|
|
79
|
+
</xs:complexType>
|
|
80
|
+
|
|
81
|
+
</xs:redefine>
|
|
82
|
+
|
|
83
|
+
</xs:schema>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
|
|
3
|
+
<xs:schema targetNamespace="urn:oasis:names:tc:SAML:2.0:ac:classes:XMLDSig"
|
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns="urn:oasis:names:tc:SAML:2.0:ac:classes:XMLDSig"
|
|
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:XMLDSig
|
|
15
|
+
Document identifier: saml-schema-authn-context-xmldsig-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"/>
|
|
44
|
+
<xs:element ref="Authenticator"/>
|
|
45
|
+
<xs:element ref="AuthenticatorTransportProtocol" minOccurs="0"/>
|
|
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="PrincipalAuthenticationMechanismType">
|
|
53
|
+
<xs:complexContent>
|
|
54
|
+
<xs:restriction base="PrincipalAuthenticationMechanismType">
|
|
55
|
+
<xs:sequence>
|
|
56
|
+
<xs:element ref="RestrictedPassword"/>
|
|
57
|
+
</xs:sequence>
|
|
58
|
+
<xs:attribute name="preauth" type="xs:integer" use="optional"/>
|
|
59
|
+
</xs:restriction>
|
|
60
|
+
</xs:complexContent>
|
|
61
|
+
</xs:complexType>
|
|
62
|
+
|
|
63
|
+
<xs:complexType name="AuthenticatorBaseType">
|
|
64
|
+
<xs:complexContent>
|
|
65
|
+
<xs:restriction base="AuthenticatorBaseType">
|
|
66
|
+
<xs:sequence>
|
|
67
|
+
<xs:element ref="DigSig"/>
|
|
68
|
+
</xs:sequence>
|
|
69
|
+
</xs:restriction>
|
|
70
|
+
</xs:complexContent>
|
|
71
|
+
</xs:complexType>
|
|
72
|
+
|
|
73
|
+
<xs:complexType name="PublicKeyType">
|
|
74
|
+
<xs:complexContent>
|
|
75
|
+
<xs:restriction base="PublicKeyType">
|
|
76
|
+
<xs:attribute name="keyValidation" type="xs:anyURI" fixed="urn:ietf:rfc:3075"/>
|
|
77
|
+
</xs:restriction>
|
|
78
|
+
</xs:complexContent>
|
|
79
|
+
</xs:complexType>
|
|
80
|
+
|
|
81
|
+
</xs:redefine>
|
|
82
|
+
|
|
83
|
+
</xs:schema>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<schema targetNamespace="urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE"
|
|
3
|
+
xmlns:dce="urn:oasis:names:tc:SAML:2.0:profiles:attribute:DCE"
|
|
4
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
elementFormDefault="unqualified"
|
|
6
|
+
attributeFormDefault="unqualified"
|
|
7
|
+
blockDefault="substitution"
|
|
8
|
+
version="2.0">
|
|
9
|
+
<annotation>
|
|
10
|
+
<documentation>
|
|
11
|
+
Document identifier: saml-schema-dce-2.0
|
|
12
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
|
13
|
+
Revision history:
|
|
14
|
+
V2.0 (March, 2005):
|
|
15
|
+
Custom schema for DCE attribute profile, first published in SAML 2.0.
|
|
16
|
+
</documentation>
|
|
17
|
+
</annotation>
|
|
18
|
+
<complexType name="DCEValueType">
|
|
19
|
+
<simpleContent>
|
|
20
|
+
<extension base="anyURI">
|
|
21
|
+
<attribute ref="dce:Realm" use="optional"/>
|
|
22
|
+
<attribute ref="dce:FriendlyName" use="optional"/>
|
|
23
|
+
</extension>
|
|
24
|
+
</simpleContent>
|
|
25
|
+
</complexType>
|
|
26
|
+
<attribute name="Realm" type="anyURI"/>
|
|
27
|
+
<attribute name="FriendlyName" type="string"/>
|
|
28
|
+
</schema>
|
|
29
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<schema
|
|
3
|
+
targetNamespace="urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp"
|
|
4
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:ecp="urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp"
|
|
6
|
+
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
|
|
7
|
+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
|
|
8
|
+
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
|
|
9
|
+
elementFormDefault="unqualified"
|
|
10
|
+
attributeFormDefault="unqualified"
|
|
11
|
+
blockDefault="substitution"
|
|
12
|
+
version="2.0">
|
|
13
|
+
<import namespace="urn:oasis:names:tc:SAML:2.0:protocol"
|
|
14
|
+
schemaLocation="saml-schema-protocol-2.0.xsd"/>
|
|
15
|
+
<import namespace="urn:oasis:names:tc:SAML:2.0:assertion"
|
|
16
|
+
schemaLocation="saml-schema-assertion-2.0.xsd"/>
|
|
17
|
+
<import namespace="http://schemas.xmlsoap.org/soap/envelope/"
|
|
18
|
+
schemaLocation="http://schemas.xmlsoap.org/soap/envelope/"/>
|
|
19
|
+
<annotation>
|
|
20
|
+
<documentation>
|
|
21
|
+
Document identifier: saml-schema-ecp-2.0
|
|
22
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
|
23
|
+
Revision history:
|
|
24
|
+
V2.0 (March, 2005):
|
|
25
|
+
Custom schema for ECP profile, first published in SAML 2.0.
|
|
26
|
+
</documentation>
|
|
27
|
+
</annotation>
|
|
28
|
+
|
|
29
|
+
<element name="Request" type="ecp:RequestType"/>
|
|
30
|
+
<complexType name="RequestType">
|
|
31
|
+
<sequence>
|
|
32
|
+
<element ref="saml:Issuer"/>
|
|
33
|
+
<element ref="samlp:IDPList" minOccurs="0"/>
|
|
34
|
+
</sequence>
|
|
35
|
+
<attribute ref="S:mustUnderstand" use="required"/>
|
|
36
|
+
<attribute ref="S:actor" use="required"/>
|
|
37
|
+
<attribute name="ProviderName" type="string" use="optional"/>
|
|
38
|
+
<attribute name="IsPassive" type="boolean" use="optional"/>
|
|
39
|
+
</complexType>
|
|
40
|
+
|
|
41
|
+
<element name="Response" type="ecp:ResponseType"/>
|
|
42
|
+
<complexType name="ResponseType">
|
|
43
|
+
<attribute ref="S:mustUnderstand" use="required"/>
|
|
44
|
+
<attribute ref="S:actor" use="required"/>
|
|
45
|
+
<attribute name="AssertionConsumerServiceURL" type="anyURI" use="required"/>
|
|
46
|
+
</complexType>
|
|
47
|
+
|
|
48
|
+
<element name="RelayState" type="ecp:RelayStateType"/>
|
|
49
|
+
<complexType name="RelayStateType">
|
|
50
|
+
<simpleContent>
|
|
51
|
+
<extension base="string">
|
|
52
|
+
<attribute ref="S:mustUnderstand" use="required"/>
|
|
53
|
+
<attribute ref="S:actor" use="required"/>
|
|
54
|
+
</extension>
|
|
55
|
+
</simpleContent>
|
|
56
|
+
</complexType>
|
|
57
|
+
</schema>
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<schema
|
|
3
|
+
targetNamespace="urn:oasis:names:tc:SAML:2.0:metadata"
|
|
4
|
+
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
|
|
5
|
+
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
|
6
|
+
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
|
|
7
|
+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
|
|
8
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
|
9
|
+
elementFormDefault="unqualified"
|
|
10
|
+
attributeFormDefault="unqualified"
|
|
11
|
+
blockDefault="substitution"
|
|
12
|
+
version="2.0">
|
|
13
|
+
<import namespace="http://www.w3.org/2000/09/xmldsig#"
|
|
14
|
+
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
|
|
15
|
+
<import namespace="http://www.w3.org/2001/04/xmlenc#"
|
|
16
|
+
schemaLocation="http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/xenc-schema.xsd"/>
|
|
17
|
+
<import namespace="urn:oasis:names:tc:SAML:2.0:assertion"
|
|
18
|
+
schemaLocation="saml-schema-assertion-2.0.xsd"/>
|
|
19
|
+
<import namespace="http://www.w3.org/XML/1998/namespace"
|
|
20
|
+
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
|
21
|
+
<annotation>
|
|
22
|
+
<documentation>
|
|
23
|
+
Document identifier: saml-schema-metadata-2.0
|
|
24
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
|
25
|
+
Revision history:
|
|
26
|
+
V2.0 (March, 2005):
|
|
27
|
+
Schema for SAML metadata, first published in SAML 2.0.
|
|
28
|
+
</documentation>
|
|
29
|
+
</annotation>
|
|
30
|
+
|
|
31
|
+
<simpleType name="entityIDType">
|
|
32
|
+
<restriction base="anyURI">
|
|
33
|
+
<maxLength value="1024"/>
|
|
34
|
+
</restriction>
|
|
35
|
+
</simpleType>
|
|
36
|
+
<complexType name="localizedNameType">
|
|
37
|
+
<simpleContent>
|
|
38
|
+
<extension base="string">
|
|
39
|
+
<attribute ref="xml:lang" use="required"/>
|
|
40
|
+
</extension>
|
|
41
|
+
</simpleContent>
|
|
42
|
+
</complexType>
|
|
43
|
+
<complexType name="localizedURIType">
|
|
44
|
+
<simpleContent>
|
|
45
|
+
<extension base="anyURI">
|
|
46
|
+
<attribute ref="xml:lang" use="required"/>
|
|
47
|
+
</extension>
|
|
48
|
+
</simpleContent>
|
|
49
|
+
</complexType>
|
|
50
|
+
|
|
51
|
+
<element name="Extensions" type="md:ExtensionsType"/>
|
|
52
|
+
<complexType final="#all" name="ExtensionsType">
|
|
53
|
+
<sequence>
|
|
54
|
+
<any namespace="##other" processContents="lax" maxOccurs="unbounded"/>
|
|
55
|
+
</sequence>
|
|
56
|
+
</complexType>
|
|
57
|
+
|
|
58
|
+
<complexType name="EndpointType">
|
|
59
|
+
<sequence>
|
|
60
|
+
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
|
61
|
+
</sequence>
|
|
62
|
+
<attribute name="Binding" type="anyURI" use="required"/>
|
|
63
|
+
<attribute name="Location" type="anyURI" use="required"/>
|
|
64
|
+
<attribute name="ResponseLocation" type="anyURI" use="optional"/>
|
|
65
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
66
|
+
</complexType>
|
|
67
|
+
|
|
68
|
+
<complexType name="IndexedEndpointType">
|
|
69
|
+
<complexContent>
|
|
70
|
+
<extension base="md:EndpointType">
|
|
71
|
+
<attribute name="index" type="unsignedShort" use="required"/>
|
|
72
|
+
<attribute name="isDefault" type="boolean" use="optional"/>
|
|
73
|
+
</extension>
|
|
74
|
+
</complexContent>
|
|
75
|
+
</complexType>
|
|
76
|
+
|
|
77
|
+
<element name="EntitiesDescriptor" type="md:EntitiesDescriptorType"/>
|
|
78
|
+
<complexType name="EntitiesDescriptorType">
|
|
79
|
+
<sequence>
|
|
80
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
|
81
|
+
<element ref="md:Extensions" minOccurs="0"/>
|
|
82
|
+
<choice minOccurs="1" maxOccurs="unbounded">
|
|
83
|
+
<element ref="md:EntityDescriptor"/>
|
|
84
|
+
<element ref="md:EntitiesDescriptor"/>
|
|
85
|
+
</choice>
|
|
86
|
+
</sequence>
|
|
87
|
+
<attribute name="validUntil" type="dateTime" use="optional"/>
|
|
88
|
+
<attribute name="cacheDuration" type="duration" use="optional"/>
|
|
89
|
+
<attribute name="ID" type="ID" use="optional"/>
|
|
90
|
+
<attribute name="Name" type="string" use="optional"/>
|
|
91
|
+
</complexType>
|
|
92
|
+
|
|
93
|
+
<element name="EntityDescriptor" type="md:EntityDescriptorType"/>
|
|
94
|
+
<complexType name="EntityDescriptorType">
|
|
95
|
+
<sequence>
|
|
96
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
|
97
|
+
<element ref="md:Extensions" minOccurs="0"/>
|
|
98
|
+
<choice>
|
|
99
|
+
<choice maxOccurs="unbounded">
|
|
100
|
+
<element ref="md:RoleDescriptor"/>
|
|
101
|
+
<element ref="md:IDPSSODescriptor"/>
|
|
102
|
+
<element ref="md:SPSSODescriptor"/>
|
|
103
|
+
<element ref="md:AuthnAuthorityDescriptor"/>
|
|
104
|
+
<element ref="md:AttributeAuthorityDescriptor"/>
|
|
105
|
+
<element ref="md:PDPDescriptor"/>
|
|
106
|
+
</choice>
|
|
107
|
+
<element ref="md:AffiliationDescriptor"/>
|
|
108
|
+
</choice>
|
|
109
|
+
<element ref="md:Organization" minOccurs="0"/>
|
|
110
|
+
<element ref="md:ContactPerson" minOccurs="0" maxOccurs="unbounded"/>
|
|
111
|
+
<element ref="md:AdditionalMetadataLocation" minOccurs="0" maxOccurs="unbounded"/>
|
|
112
|
+
</sequence>
|
|
113
|
+
<attribute name="entityID" type="md:entityIDType" use="required"/>
|
|
114
|
+
<attribute name="validUntil" type="dateTime" use="optional"/>
|
|
115
|
+
<attribute name="cacheDuration" type="duration" use="optional"/>
|
|
116
|
+
<attribute name="ID" type="ID" use="optional"/>
|
|
117
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
118
|
+
</complexType>
|
|
119
|
+
|
|
120
|
+
<element name="Organization" type="md:OrganizationType"/>
|
|
121
|
+
<complexType name="OrganizationType">
|
|
122
|
+
<sequence>
|
|
123
|
+
<element ref="md:Extensions" minOccurs="0"/>
|
|
124
|
+
<element ref="md:OrganizationName" maxOccurs="unbounded"/>
|
|
125
|
+
<element ref="md:OrganizationDisplayName" maxOccurs="unbounded"/>
|
|
126
|
+
<element ref="md:OrganizationURL" maxOccurs="unbounded"/>
|
|
127
|
+
</sequence>
|
|
128
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
129
|
+
</complexType>
|
|
130
|
+
<element name="OrganizationName" type="md:localizedNameType"/>
|
|
131
|
+
<element name="OrganizationDisplayName" type="md:localizedNameType"/>
|
|
132
|
+
<element name="OrganizationURL" type="md:localizedURIType"/>
|
|
133
|
+
<element name="ContactPerson" type="md:ContactType"/>
|
|
134
|
+
<complexType name="ContactType">
|
|
135
|
+
<sequence>
|
|
136
|
+
<element ref="md:Extensions" minOccurs="0"/>
|
|
137
|
+
<element ref="md:Company" minOccurs="0"/>
|
|
138
|
+
<element ref="md:GivenName" minOccurs="0"/>
|
|
139
|
+
<element ref="md:SurName" minOccurs="0"/>
|
|
140
|
+
<element ref="md:EmailAddress" minOccurs="0" maxOccurs="unbounded"/>
|
|
141
|
+
<element ref="md:TelephoneNumber" minOccurs="0" maxOccurs="unbounded"/>
|
|
142
|
+
</sequence>
|
|
143
|
+
<attribute name="contactType" type="md:ContactTypeType" use="required"/>
|
|
144
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
145
|
+
</complexType>
|
|
146
|
+
<element name="Company" type="string"/>
|
|
147
|
+
<element name="GivenName" type="string"/>
|
|
148
|
+
<element name="SurName" type="string"/>
|
|
149
|
+
<element name="EmailAddress" type="anyURI"/>
|
|
150
|
+
<element name="TelephoneNumber" type="string"/>
|
|
151
|
+
<simpleType name="ContactTypeType">
|
|
152
|
+
<restriction base="string">
|
|
153
|
+
<enumeration value="technical"/>
|
|
154
|
+
<enumeration value="support"/>
|
|
155
|
+
<enumeration value="administrative"/>
|
|
156
|
+
<enumeration value="billing"/>
|
|
157
|
+
<enumeration value="other"/>
|
|
158
|
+
</restriction>
|
|
159
|
+
</simpleType>
|
|
160
|
+
|
|
161
|
+
<element name="AdditionalMetadataLocation" type="md:AdditionalMetadataLocationType"/>
|
|
162
|
+
<complexType name="AdditionalMetadataLocationType">
|
|
163
|
+
<simpleContent>
|
|
164
|
+
<extension base="anyURI">
|
|
165
|
+
<attribute name="namespace" type="anyURI" use="required"/>
|
|
166
|
+
</extension>
|
|
167
|
+
</simpleContent>
|
|
168
|
+
</complexType>
|
|
169
|
+
|
|
170
|
+
<element name="RoleDescriptor" type="md:RoleDescriptorType"/>
|
|
171
|
+
<complexType name="RoleDescriptorType" abstract="true">
|
|
172
|
+
<sequence>
|
|
173
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
|
174
|
+
<element ref="md:Extensions" minOccurs="0"/>
|
|
175
|
+
<element ref="md:KeyDescriptor" minOccurs="0" maxOccurs="unbounded"/>
|
|
176
|
+
<element ref="md:Organization" minOccurs="0"/>
|
|
177
|
+
<element ref="md:ContactPerson" minOccurs="0" maxOccurs="unbounded"/>
|
|
178
|
+
</sequence>
|
|
179
|
+
<attribute name="ID" type="ID" use="optional"/>
|
|
180
|
+
<attribute name="validUntil" type="dateTime" use="optional"/>
|
|
181
|
+
<attribute name="cacheDuration" type="duration" use="optional"/>
|
|
182
|
+
<attribute name="protocolSupportEnumeration" type="md:anyURIListType" use="required"/>
|
|
183
|
+
<attribute name="errorURL" type="anyURI" use="optional"/>
|
|
184
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
185
|
+
</complexType>
|
|
186
|
+
<simpleType name="anyURIListType">
|
|
187
|
+
<list itemType="anyURI"/>
|
|
188
|
+
</simpleType>
|
|
189
|
+
|
|
190
|
+
<element name="KeyDescriptor" type="md:KeyDescriptorType"/>
|
|
191
|
+
<complexType name="KeyDescriptorType">
|
|
192
|
+
<sequence>
|
|
193
|
+
<element ref="ds:KeyInfo"/>
|
|
194
|
+
<element ref="md:EncryptionMethod" minOccurs="0" maxOccurs="unbounded"/>
|
|
195
|
+
</sequence>
|
|
196
|
+
<attribute name="use" type="md:KeyTypes" use="optional"/>
|
|
197
|
+
</complexType>
|
|
198
|
+
<simpleType name="KeyTypes">
|
|
199
|
+
<restriction base="string">
|
|
200
|
+
<enumeration value="encryption"/>
|
|
201
|
+
<enumeration value="signing"/>
|
|
202
|
+
</restriction>
|
|
203
|
+
</simpleType>
|
|
204
|
+
<element name="EncryptionMethod" type="xenc:EncryptionMethodType"/>
|
|
205
|
+
|
|
206
|
+
<complexType name="SSODescriptorType" abstract="true">
|
|
207
|
+
<complexContent>
|
|
208
|
+
<extension base="md:RoleDescriptorType">
|
|
209
|
+
<sequence>
|
|
210
|
+
<element ref="md:ArtifactResolutionService" minOccurs="0" maxOccurs="unbounded"/>
|
|
211
|
+
<element ref="md:SingleLogoutService" minOccurs="0" maxOccurs="unbounded"/>
|
|
212
|
+
<element ref="md:ManageNameIDService" minOccurs="0" maxOccurs="unbounded"/>
|
|
213
|
+
<element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
|
|
214
|
+
</sequence>
|
|
215
|
+
</extension>
|
|
216
|
+
</complexContent>
|
|
217
|
+
</complexType>
|
|
218
|
+
<element name="ArtifactResolutionService" type="md:IndexedEndpointType"/>
|
|
219
|
+
<element name="SingleLogoutService" type="md:EndpointType"/>
|
|
220
|
+
<element name="ManageNameIDService" type="md:EndpointType"/>
|
|
221
|
+
<element name="NameIDFormat" type="anyURI"/>
|
|
222
|
+
|
|
223
|
+
<element name="IDPSSODescriptor" type="md:IDPSSODescriptorType"/>
|
|
224
|
+
<complexType name="IDPSSODescriptorType">
|
|
225
|
+
<complexContent>
|
|
226
|
+
<extension base="md:SSODescriptorType">
|
|
227
|
+
<sequence>
|
|
228
|
+
<element ref="md:SingleSignOnService" maxOccurs="unbounded"/>
|
|
229
|
+
<element ref="md:NameIDMappingService" minOccurs="0" maxOccurs="unbounded"/>
|
|
230
|
+
<element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
|
|
231
|
+
<element ref="md:AttributeProfile" minOccurs="0" maxOccurs="unbounded"/>
|
|
232
|
+
<element ref="saml:Attribute" minOccurs="0" maxOccurs="unbounded"/>
|
|
233
|
+
</sequence>
|
|
234
|
+
<attribute name="WantAuthnRequestsSigned" type="boolean" use="optional"/>
|
|
235
|
+
</extension>
|
|
236
|
+
</complexContent>
|
|
237
|
+
</complexType>
|
|
238
|
+
<element name="SingleSignOnService" type="md:EndpointType"/>
|
|
239
|
+
<element name="NameIDMappingService" type="md:EndpointType"/>
|
|
240
|
+
<element name="AssertionIDRequestService" type="md:EndpointType"/>
|
|
241
|
+
<element name="AttributeProfile" type="anyURI"/>
|
|
242
|
+
|
|
243
|
+
<element name="SPSSODescriptor" type="md:SPSSODescriptorType"/>
|
|
244
|
+
<complexType name="SPSSODescriptorType">
|
|
245
|
+
<complexContent>
|
|
246
|
+
<extension base="md:SSODescriptorType">
|
|
247
|
+
<sequence>
|
|
248
|
+
<element ref="md:AssertionConsumerService" maxOccurs="unbounded"/>
|
|
249
|
+
<element ref="md:AttributeConsumingService" minOccurs="0" maxOccurs="unbounded"/>
|
|
250
|
+
</sequence>
|
|
251
|
+
<attribute name="AuthnRequestsSigned" type="boolean" use="optional"/>
|
|
252
|
+
<attribute name="WantAssertionsSigned" type="boolean" use="optional"/>
|
|
253
|
+
</extension>
|
|
254
|
+
</complexContent>
|
|
255
|
+
</complexType>
|
|
256
|
+
<element name="AssertionConsumerService" type="md:IndexedEndpointType"/>
|
|
257
|
+
<element name="AttributeConsumingService" type="md:AttributeConsumingServiceType"/>
|
|
258
|
+
<complexType name="AttributeConsumingServiceType">
|
|
259
|
+
<sequence>
|
|
260
|
+
<element ref="md:ServiceName" maxOccurs="unbounded"/>
|
|
261
|
+
<element ref="md:ServiceDescription" minOccurs="0" maxOccurs="unbounded"/>
|
|
262
|
+
<element ref="md:RequestedAttribute" maxOccurs="unbounded"/>
|
|
263
|
+
</sequence>
|
|
264
|
+
<attribute name="index" type="unsignedShort" use="required"/>
|
|
265
|
+
<attribute name="isDefault" type="boolean" use="optional"/>
|
|
266
|
+
</complexType>
|
|
267
|
+
<element name="ServiceName" type="md:localizedNameType"/>
|
|
268
|
+
<element name="ServiceDescription" type="md:localizedNameType"/>
|
|
269
|
+
<element name="RequestedAttribute" type="md:RequestedAttributeType"/>
|
|
270
|
+
<complexType name="RequestedAttributeType">
|
|
271
|
+
<complexContent>
|
|
272
|
+
<extension base="saml:AttributeType">
|
|
273
|
+
<attribute name="isRequired" type="boolean" use="optional"/>
|
|
274
|
+
</extension>
|
|
275
|
+
</complexContent>
|
|
276
|
+
</complexType>
|
|
277
|
+
|
|
278
|
+
<element name="AuthnAuthorityDescriptor" type="md:AuthnAuthorityDescriptorType"/>
|
|
279
|
+
<complexType name="AuthnAuthorityDescriptorType">
|
|
280
|
+
<complexContent>
|
|
281
|
+
<extension base="md:RoleDescriptorType">
|
|
282
|
+
<sequence>
|
|
283
|
+
<element ref="md:AuthnQueryService" maxOccurs="unbounded"/>
|
|
284
|
+
<element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
|
|
285
|
+
<element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
|
|
286
|
+
</sequence>
|
|
287
|
+
</extension>
|
|
288
|
+
</complexContent>
|
|
289
|
+
</complexType>
|
|
290
|
+
<element name="AuthnQueryService" type="md:EndpointType"/>
|
|
291
|
+
|
|
292
|
+
<element name="PDPDescriptor" type="md:PDPDescriptorType"/>
|
|
293
|
+
<complexType name="PDPDescriptorType">
|
|
294
|
+
<complexContent>
|
|
295
|
+
<extension base="md:RoleDescriptorType">
|
|
296
|
+
<sequence>
|
|
297
|
+
<element ref="md:AuthzService" maxOccurs="unbounded"/>
|
|
298
|
+
<element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
|
|
299
|
+
<element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
|
|
300
|
+
</sequence>
|
|
301
|
+
</extension>
|
|
302
|
+
</complexContent>
|
|
303
|
+
</complexType>
|
|
304
|
+
<element name="AuthzService" type="md:EndpointType"/>
|
|
305
|
+
|
|
306
|
+
<element name="AttributeAuthorityDescriptor" type="md:AttributeAuthorityDescriptorType"/>
|
|
307
|
+
<complexType name="AttributeAuthorityDescriptorType">
|
|
308
|
+
<complexContent>
|
|
309
|
+
<extension base="md:RoleDescriptorType">
|
|
310
|
+
<sequence>
|
|
311
|
+
<element ref="md:AttributeService" maxOccurs="unbounded"/>
|
|
312
|
+
<element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
|
|
313
|
+
<element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
|
|
314
|
+
<element ref="md:AttributeProfile" minOccurs="0" maxOccurs="unbounded"/>
|
|
315
|
+
<element ref="saml:Attribute" minOccurs="0" maxOccurs="unbounded"/>
|
|
316
|
+
</sequence>
|
|
317
|
+
</extension>
|
|
318
|
+
</complexContent>
|
|
319
|
+
</complexType>
|
|
320
|
+
<element name="AttributeService" type="md:EndpointType"/>
|
|
321
|
+
|
|
322
|
+
<element name="AffiliationDescriptor" type="md:AffiliationDescriptorType"/>
|
|
323
|
+
<complexType name="AffiliationDescriptorType">
|
|
324
|
+
<sequence>
|
|
325
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
|
326
|
+
<element ref="md:Extensions" minOccurs="0"/>
|
|
327
|
+
<element ref="md:AffiliateMember" maxOccurs="unbounded"/>
|
|
328
|
+
<element ref="md:KeyDescriptor" minOccurs="0" maxOccurs="unbounded"/>
|
|
329
|
+
</sequence>
|
|
330
|
+
<attribute name="affiliationOwnerID" type="md:entityIDType" use="required"/>
|
|
331
|
+
<attribute name="validUntil" type="dateTime" use="optional"/>
|
|
332
|
+
<attribute name="cacheDuration" type="duration" use="optional"/>
|
|
333
|
+
<attribute name="ID" type="ID" use="optional"/>
|
|
334
|
+
<anyAttribute namespace="##other" processContents="lax"/>
|
|
335
|
+
</complexType>
|
|
336
|
+
<element name="AffiliateMember" type="md:entityIDType"/>
|
|
337
|
+
</schema>
|