source: aai/check-saml-metadata/saml-schema/saml-schema-authn-context-timesync-2.0.xsd @ 5962

Last change on this file since 5962 was 5962, checked in by Sander Maijers, 9 years ago
  • Add a schema relevant to SAML metadata.
  • Modify mime-type of schemas.
  • Refer to SAML metadata guidelines at

https://www.clarin.eu/content/guidelines-saml-metadata-about-your-sp in SAML metadata about
SPF SPs in document header.

  • Remove extraneous whitespace, erroneous newlines, reformat XML and improve punctuation and

spelling in SAML metadata about SPF SPs.

  • Remove signature from BAS EntityDescriptor? to allow modification and reduce technical issues

(the SAML metadata guidelines will be updated to reflect this measure).

  • Improve metadata about CMU SPs (ticket #732).
  • Property svn:mime-type set to text/xml
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<xs:schema targetNamespace="urn:oasis:names:tc:SAML:2.0:ac:classes:TimeSyncToken"
4  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
5  xmlns="urn:oasis:names:tc:SAML:2.0:ac:classes:TimeSyncToken"
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:TimeSyncToken
15        Document identifier: saml-schema-authn-context-timesync-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" 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="Token"/>
57          </xs:sequence>
58        </xs:restriction>
59      </xs:complexContent>
60    </xs:complexType>
61
62    <xs:complexType name="TokenType">
63      <xs:complexContent>
64        <xs:restriction base="TokenType">
65          <xs:sequence>
66            <xs:element ref="TimeSyncToken"/>
67            <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
68          </xs:sequence>
69        </xs:restriction>
70      </xs:complexContent>
71    </xs:complexType>
72
73    <xs:complexType name="TimeSyncTokenType">
74      <xs:complexContent>
75        <xs:restriction base="TimeSyncTokenType">
76          <xs:attribute name="DeviceType" use="required">
77            <xs:simpleType>
78              <xs:restriction base="DeviceTypeType">
79                <xs:enumeration value="hardware"/>
80              </xs:restriction>
81            </xs:simpleType>
82          </xs:attribute>
83
84          <xs:attribute name="SeedLength" use="required">
85            <xs:simpleType>
86              <xs:restriction base="xs:integer">
87                <xs:minInclusive value="64"/>
88              </xs:restriction>
89            </xs:simpleType>
90          </xs:attribute>
91
92          <xs:attribute name="DeviceInHand" use="required">
93            <xs:simpleType>
94              <xs:restriction base="booleanType">
95                <xs:enumeration value="true"/>
96              </xs:restriction>
97            </xs:simpleType>
98          </xs:attribute>
99        </xs:restriction>
100      </xs:complexContent>
101    </xs:complexType>
102
103  </xs:redefine>
104
105</xs:schema>
Note: See TracBrowser for help on using the repository browser.