Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.26 KB

3.1-Schema头和命名空间声明.md

File metadata and controls

28 lines (25 loc) · 1.26 KB
description
本博客采用知识共享署名 4.0 国际许可协议进行许可

3.1 Schema头和命名空间声明

下列schema片段定义了协议schema的XML命名空间和其他的头信息:

<schema targetNamespace="urn:oasis:names:tc:SAML:2.0:protocol" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="unqualified" attributeFormDefault="unqualified" blockDefault="substitution" version="2.0">
    <import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="saml-schema-assertion-2.0.xsd"/>
    <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core20020212/xmldsig-core-schema.xsd"/>
    <annotation>
        <documentation>
    Document identifier: saml-schema-protocol-2.0
    Location: http://docs.oasis-open.org/security/saml/v2.0/
    Revision history:
    V1.0 (November, 2002):
    Initial Standard Schema.
    V1.1 (September, 2003):
    Updates within the same V1.0 namespace.
    V2.0 (March, 2005):
    New protocol schema based in a SAML V2.0 namespace.
        </documentation>
    </annotation>
…
</schema>