validate discoveryresponse extension
authorLeif Johansson <leifj@sunet.se>
Thu, 10 May 2012 07:27:29 +0000 (09:27 +0200)
committerLeif Johansson <leifj@sunet.se>
Thu, 10 May 2012 07:27:29 +0000 (09:27 +0200)
schema.xsd
schema/sstc-saml-idp-discovery.xsd [new file with mode: 0644]

index e156b8c..2cf3b8f 100644 (file)
@@ -15,4 +15,5 @@
 <import namespace="urn:mace:shibboleth:1.0" schemaLocation="shibboleth.xsd"/>
 <import namespace="urn:oasis:names:tc:SAML:metadata:attribute" schemaLocation="sstc-metadata-attr.xsd"/>
 <import namespace="urn:oasis:names:tc:SAML:metadata:algsupport" schemaLocation="sstc-saml-metadata-algsupport.xsd"/>
+<import namespace="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" schemaLocation="sstc-saml-idp-discovery.xsd"/>
 </schema>
diff --git a/schema/sstc-saml-idp-discovery.xsd b/schema/sstc-saml-idp-discovery.xsd
new file mode 100644 (file)
index 0000000..00da6a3
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<schema xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" 
+        xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" 
+        xmlns="http://www.w3.org/2001/XMLSchema"
+        targetNamespace="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" 
+        elementFormDefault="unqualified" 
+        attributeFormDefault="unqualified"
+        blockDefault="substitution" 
+        version="1.0">
+    
+    <annotation>
+        <documentation>
+            Document identifier: sstc-saml-idp-discovery
+            Location: http://www.oasis-open.org/committees/documents.php?wg_abbrev=security
+            Revision history:
+            V1.0 (January 2007):
+            Initial version. 
+        </documentation>
+    </annotation>
+    
+    <import namespace="urn:oasis:names:tc:SAML:2.0:metadata" schemaLocation="classpath:/schema/saml-schema-metadata-2.0.xsd" />
+    
+    <element name="DiscoveryResponse" type="md:IndexedEndpointType" />
+    
+</schema>