aboutsummaryrefslogtreecommitdiff
path: root/moaSig/common/src/main/resources
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2017-09-08 14:26:26 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2017-09-08 14:26:26 +0200
commit2ab630ca072185a6037254a82068c5ace2481581 (patch)
treee2d4f7b7e5e8e8c0967303977f109d4350d0e8a0 /moaSig/common/src/main/resources
parente1535be7c97e86e40e04258cbdaf47f60e6292bf (diff)
downloadmoa-sig-2ab630ca072185a6037254a82068c5ace2481581.tar.gz
moa-sig-2ab630ca072185a6037254a82068c5ace2481581.tar.bz2
moa-sig-2ab630ca072185a6037254a82068c5ace2481581.zip
add scheme for eIDAS specific SAML2 extensions
Diffstat (limited to 'moaSig/common/src/main/resources')
-rw-r--r--moaSig/common/src/main/resources/resources/schemas/eIDAS_saml_extensions.xsd31
1 files changed, 31 insertions, 0 deletions
diff --git a/moaSig/common/src/main/resources/resources/schemas/eIDAS_saml_extensions.xsd b/moaSig/common/src/main/resources/resources/schemas/eIDAS_saml_extensions.xsd
new file mode 100644
index 0000000..76b82a2
--- /dev/null
+++ b/moaSig/common/src/main/resources/resources/schemas/eIDAS_saml_extensions.xsd
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:eidas="http://eidas.europa.eu/saml-extensions" targetNamespace="http://eidas.europa.eu/saml-extensions" elementFormDefault="qualified" attributeFormDefault="unqualified">
+
+ <xsd:element name="SPType" type="eidas:SPTypeType"/>
+ <xsd:simpleType name="SPTypeType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="public"/>
+ <xsd:enumeration value="private"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:element name="RequestedAttributes" type="eidas:RequestedAttributesType"/>
+ <xsd:complexType name="RequestedAttributesType">
+ <xsd:sequence>
+ <xsd:element minOccurs="0" maxOccurs="unbounded" ref="eidas:RequestedAttribute"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:element name="RequestedAttribute" type="eidas:RequestedAttributeType"/>
+ <xsd:complexType name="RequestedAttributeType">
+ <xsd:sequence>
+ <xsd:element name="AttributeValue" minOccurs="0" maxOccurs="unbounded" type="xsd:anyType"/>
+ </xsd:sequence>
+ <xsd:attribute name="Name" type="xsd:string" use="required"/>
+ <xsd:attribute name="NameFormat" type="xsd:anyURI" use="required" />
+ <xsd:attribute name="isRequired" type="xsd:boolean" use="required"/>
+ <xsd:attribute name="FriendlyName" type="xsd:string" use="optional"/>
+ <xsd:anyAttribute namespace="##other" processContents="lax" />
+ </xsd:complexType>
+
+</xsd:schema>