| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<xs:schema targetNamespace="urn:liberty:sec:2003-08" |
| 4 |
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" |
| 5 |
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" |
| 6 |
xmlns:ac="urn:liberty:ac:2003-08" |
| 7 |
xmlns:lib="urn:liberty:iff:2003-08" |
| 8 |
xmlns:disco="urn:liberty:disco:2003-08" |
| 9 |
xmlns:md="urn:liberty:metadata:2003-08" |
| 10 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 11 |
xmlns:sec="urn:liberty:sec:2003-08" |
| 12 |
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" |
| 13 |
elementFormDefault="qualified" |
| 14 |
attributeFormDefault="unqualified"> |
| 15 |
<xs:import namespace="urn:oasis:names:tc:SAML:1.0:assertion" |
| 16 |
schemaLocation="oasis-sstc-saml-schema-assertion-1.1.xsd"/> |
| 17 |
<xs:import namespace="urn:liberty:iff:2003-08" |
| 18 |
schemaLocation="liberty-idff-protocols-schema-1.2-errata-v3.0.xsd"/> |
| 19 |
<xs:import namespace="urn:liberty:disco:2003-08" |
| 20 |
schemaLocation="liberty-idwsf-disco-svc-v1.2.xsd"/> |
| 21 |
<xs:import namespace="urn:liberty:ac:2003-08" |
| 22 |
schemaLocation="liberty-authentication-context-v1.3.xsd"/> |
| 23 |
<xs:import namespace="urn:liberty:metadata:2003-08" |
| 24 |
schemaLocation="liberty-metadata-v1.1.xsd"/> |
| 25 |
<xs:import namespace="http://www.w3.org/2001/04/xmlenc#" |
| 26 |
schemaLocation="http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/xenc-schema.xsd"/> |
| 27 |
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" |
| 28 |
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/> |
| 29 |
|
| 30 |
<xs:annotation> |
| 31 |
<xs:documentation>Liberty ID-WSF Security Mechanisms Specification XSD</xs:documentation> |
| 32 |
<xs:documentation> |
| 33 |
The source code in this XSD file was excerpted verbatim from: |
| 34 |
|
| 35 |
Liberty ID-WSF Security Mechanisms Specification |
| 36 |
Version 1.2 |
| 37 |
14th December 2004 |
| 38 |
|
| 39 |
Copyright (c) 2003,2004 Liberty Alliance participants, see |
| 40 |
http://www.projectliberty.org/specs/idwsf_1_1_copyrights.php |
| 41 |
|
| 42 |
</xs:documentation> |
| 43 |
</xs:annotation> |
| 44 |
|
| 45 |
<xs:element name="ValidityRestrictionCondition" type="sec:ValidityRestrictionConditionType"/> |
| 46 |
<xs:complexType name="ValidityRestrictionConditionType"> |
| 47 |
<xs:complexContent> |
| 48 |
<xs:extension base="saml:ConditionAbstractType"> |
| 49 |
<xs:sequence> |
| 50 |
<xs:element name="NumberOfUses" type="xs:integer"/> |
| 51 |
</xs:sequence> |
| 52 |
</xs:extension> |
| 53 |
</xs:complexContent> |
| 54 |
</xs:complexType> |
| 55 |
<xs:element name="ProxySubject" substitutionGroup="saml:Subject" |
| 56 |
type="saml:SubjectType"/> |
| 57 |
<xs:annotation> |
| 58 |
<xs:documentation>ProxyTransitedStatement is a |
| 59 |
SubjectStatement which MAY carry specific subject confirmation |
| 60 |
data </xs:documentation> |
| 61 |
</xs:annotation> |
| 62 |
<xs:element name="ProxyTransitedStatement" |
| 63 |
type="saml:SubjectStatementAbstractType"/> |
| 64 |
|
| 65 |
<xs:annotation> |
| 66 |
<xs:documentation> |
| 67 |
ProxyInfoConfirmationData may be relied upon to |
| 68 |
corroborate the path information carried in a |
| 69 |
ProxyTransitedStatement |
| 70 |
</xs:documentation> |
| 71 |
</xs:annotation> |
| 72 |
<xs:element name="ProxyInfoConfirmationData" |
| 73 |
type="sec:ProxyInfoConfirmationType"/> |
| 74 |
<xs:complexType name="ProxyInfoConfirmationType"> |
| 75 |
<xs:sequence> |
| 76 |
<xs:element ref="saml:AssertionIDReference"/> |
| 77 |
<xs:element name="Issuer" type="xs:string"/> |
| 78 |
<xs:element name="IssueInstant" type="xs:dateTime"/> |
| 79 |
<xs:element ref="ds:Signature" minOccurs="0" maxOccurs="1"/> |
| 80 |
</xs:sequence> |
| 81 |
<xs:attribute name="id" type="xs:ID"/> |
| 82 |
</xs:complexType> |
| 83 |
|
| 84 |
<xs:element name="SessionContext" type="sec:SessionContextType"/> |
| 85 |
<xs:complexType name="SessionContextType"> |
| 86 |
<xs:sequence> |
| 87 |
<xs:element name="SessionSubject" type="lib:SubjectType"/> |
| 88 |
<xs:element name="ProviderID" type="md:entityIDType"/> |
| 89 |
<xs:element ref="lib:RequestAuthnContext" minOccurs="0" maxOccurs="1"/> |
| 90 |
<!-- The system entity for which this context applies |
| 91 |
is privacy protect by the SessionSubject --> |
| 92 |
</xs:sequence> |
| 93 |
<xs:attribute name="SessionIndex" type="xs:string" use="optional"/> |
| 94 |
<xs:attribute name="AuthenticationInstant" type="xs:dateTime" use="required"/> |
| 95 |
<xs:attribute name="AssertionIssueInstant" type="xs:dateTime" use="required"/> |
| 96 |
</xs:complexType> |
| 97 |
|
| 98 |
<xs:element name="SessionContextStatement" |
| 99 |
type="sec:SessionContextStatementType" |
| 100 |
substitutionGroup="saml:SubjectStatement"/> |
| 101 |
|
| 102 |
<xs:complexType name="SessionContextStatementType"> |
| 103 |
<xs:complexContent> |
| 104 |
<xs:extension base="saml:SubjectStatementAbstractType"> |
| 105 |
<xs:sequence> |
| 106 |
<!-- This is the name of the proxy and it SHOULD carry |
| 107 |
SubjectConfirmation information to authorize the |
| 108 |
ProxySubject to act on behalf of the |
| 109 |
Subject inherited from |
| 110 |
SubjectStatementAbstractType --> |
| 111 |
<xs:element name="ProxySubject" |
| 112 |
type="saml:SubjectType" minOccurs="0"/> |
| 113 |
<xs:element ref="sec:SessionContext"/> |
| 114 |
</xs:sequence> |
| 115 |
</xs:extension> |
| 116 |
</xs:complexContent> |
| 117 |
</xs:complexType> |
| 118 |
|
| 119 |
<xs:element name="ResourceAccessStatement" |
| 120 |
type="sec:ResourceAccessStatementType" |
| 121 |
substitutionGroup="saml:SubjectStatement"/> |
| 122 |
|
| 123 |
<xs:complexType name="ResourceAccessStatementType"> |
| 124 |
<xs:complexContent> |
| 125 |
<xs:extension base="saml:SubjectStatementAbstractType"> |
| 126 |
<xs:sequence> |
| 127 |
<xs:group ref="disco:ResourceIDGroup"/> |
| 128 |
<xs:sequence minOccurs="0"> |
| 129 |
<!-- This is the name of the proxy and it SHOULD carry |
| 130 |
SubjectConfirmation information to authorize the |
| 131 |
ProxySubject to act on behalf of the |
| 132 |
Subject inherited from |
| 133 |
SubjectStatementAbstractType --> |
| 134 |
<xs:element name="ProxySubject" type="saml:SubjectType"/> |
| 135 |
<xs:element ref="sec:SessionContext" minOccurs="0"/> |
| 136 |
</xs:sequence> |
| 137 |
</xs:sequence> |
| 138 |
</xs:extension> |
| 139 |
</xs:complexContent> |
| 140 |
</xs:complexType> |
| 141 |
|
| 142 |
</xs:schema> |
| 143 |
|