summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-05-10 09:27:29 +0200
committerLeif Johansson <leifj@sunet.se>2012-05-10 09:27:29 +0200
commitc3c2aff425b3b4c357ec0c5949e77e9c68a19cb8 (patch)
treeac4987c11082ea545c197a05b810097cdf829897
parent8a410a8c2c8a9c76dad707a485063102f9a2bbf0 (diff)
validate discoveryresponse extension
-rw-r--r--schema.xsd1
-rw-r--r--schema/sstc-saml-idp-discovery.xsd25
2 files changed, 26 insertions, 0 deletions
diff --git a/schema.xsd b/schema.xsd
index e156b8ce..2cf3b8fb 100644
--- a/schema.xsd
+++ b/schema.xsd
@@ -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
index 00000000..00da6a38
--- /dev/null
+++ b/schema/sstc-saml-idp-discovery.xsd
@@ -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>