Sync with C++ version.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 24 Apr 2005 20:27:58 +0000 (20:27 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Sun, 24 Apr 2005 20:27:58 +0000 (20:27 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1400 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/shibboleth-targetconfig-1.0.xsd

index 5d6e5b5..9deb120 100644 (file)
     </annotation>
 
        <complexType name="PluggableType">
-        <complexContent>
-            <restriction base="anyType">
-                <sequence>
-                    <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-                </sequence>
-                               <attribute name="type" type="string" use="required"/>
-                               <attribute name="uri" type="anyURI" use="optional"/>
-                <anyAttribute namespace="##other" processContents="lax"/>
-            </restriction>
-        </complexContent>
+               <sequence>
+                       <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+               </sequence>
+               <attribute name="type" type="string" use="required"/>
+               <attribute name="uri" type="anyURI" use="optional"/>
+               <anyAttribute namespace="##any" processContents="lax"/>
        </complexType>
 
        <element name="ShibbolethTargetConfig" type="conf:SPConfigType"/>
                        <sequence>
                                <element name="Library" minOccurs="0" maxOccurs="unbounded">
                                        <complexType>
-                                   <complexContent>
-                                       <restriction base="anyType">
-                                                               <sequence>
-                                                                       <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-                                                               </sequence>
-                                               <attribute name="path" type="anyURI" use="required"/>
-                                                               <attribute name="fatal" type="boolean" use="optional"/>
-                                                               <anyAttribute namespace="##other" processContents="lax"/>
-                                       </restriction>
-                                   </complexContent>
+                                               <sequence>
+                                                       <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+                                               </sequence>
+                                               <attribute name="path" type="anyURI" use="required"/>
+                                               <attribute name="fatal" type="boolean" use="optional"/>
+                                               <anyAttribute namespace="##other" processContents="lax"/>
                                        </complexType>
                                </element>
                                <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
                        <element ref="conf:Extensions" minOccurs="0"/>
                        <choice>
                                <element name="UnixListener">
-                                       <complexType mixed="false">
-                                               <complexContent>
-                                                       <restriction base="anyType">
-                                                               <attribute name="address" type="string" use="required"/>
-                                                       </restriction>
-                                               </complexContent>
+                                       <complexType>
+                                               <attribute name="address" type="string" use="required"/>
                                        </complexType>
                                </element>
                                <element name="TCPListener">
-                                       <complexType mixed="false">
-                                               <complexContent>
-                                                       <restriction base="anyType">
-                                                               <attribute name="address" type="string" use="required"/>
-                                                               <attribute name="port" type="unsignedInt" use="required"/>
-                                                               <attribute name="acl" use="optional" default="127.0.0.1">
-                                                                       <simpleType>
-                                                                               <list itemType="string"/>
-                                                                       </simpleType>
-                                                               </attribute>
-                                                       </restriction>
-                                               </complexContent>
+                                       <complexType>
+                                               <attribute name="address" type="string" use="required"/>
+                                               <attribute name="port" type="unsignedInt" use="required"/>
+                                               <attribute name="acl" use="optional" default="127.0.0.1">
+                                                       <simpleType>
+                                                               <list itemType="string"/>
+                                                       </simpleType>
+                                               </attribute>
                                        </complexType>
                                </element>
                                <element name="Listener" type="conf:PluggableType"/>
                        </choice>
                        <choice>
                                <element name="MemorySessionCache">
-                                       <complexType mixed="false">
-                                               <complexContent>
-                                                       <restriction base="anyType">
-                                                               <attributeGroup ref="conf:SessionCacheProperties"/>
-                                                               <anyAttribute namespace="##other" processContents="lax"/>
-                                                       </restriction>
-                                               </complexContent>
+                                       <complexType>
+                                               <attributeGroup ref="conf:SessionCacheProperties"/>
+                                               <anyAttribute namespace="##other" processContents="lax"/>
                                        </complexType>
                                </element>
                                <element name="MySQLSessionCache">
                                <complexType>
                                        <choice maxOccurs="unbounded">
                                                <element ref="conf:ISAPI"/>
-                                               <element ref="conf:NSAPI"/>
-                                               <element ref="conf:Java"/>
                                                <any namespace="##other" processContents="lax"/>
                                        </choice>
                                </complexType>
                <complexType>
                        <sequence>
                                <element name="Site" maxOccurs="unbounded">
-                                       <complexType mixed="false">
-                                               <complexContent>
-                                                       <restriction base="anyType">
-                                                               <sequence>
-                                                                       <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
-                                                               </sequence>
-                                                               <attribute name="id" type="unsignedInt" use="required"/>
-                                                               <attribute name="name" type="string" use="required"/>
-                                       <attribute name="port" type="unsignedInt" use="optional"/>
-                                       <attribute name="sslport" type="unsignedInt" use="optional"/>
-                                                               <attribute name="scheme" type="string" use="optional"/>
-                                                       </restriction>
-                                               </complexContent>
+                                       <complexType>
+                                               <sequence>
+                                                       <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
+                                               </sequence>
+                                               <attribute name="id" type="unsignedInt" use="required"/>
+                                               <attribute name="name" type="string" use="required"/>
+                                               <attribute name="port" type="unsignedInt" use="optional"/>
+                                               <attribute name="sslport" type="unsignedInt" use="optional"/>
+                                               <attribute name="scheme" type="string" use="optional"/>
                                        </complexType>
                                </element>
                                <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
        <element name="NSAPI" type="anyType"/>
        <element name="Java" type="anyType"/>
 
-       <element name="htaccess" type="conf:UniOperatorType">
+       <element name="AccessControl" type="conf:UniOperatorType">
                <annotation>
                        <documentation>
                        A simple example access policy language extension that supersedes Apache .htaccess
                </complexType>
        </element>
        <simpleType name="listOfStrings">
-               <list itemType='string'/>
+               <list itemType="string"/>
        </simpleType>
        
        <attributeGroup name="ContentSettings">
+               <attribute name="authType" type="string" use="optional"/>
                <attribute name="requireSession" type="boolean" use="optional"/>
                <attribute name="requireSessionWith" type="string" use="optional"/>
                <attribute name="exportAssertion" type="boolean" use="optional"/>
                <anyAttribute namespace="##other" processContents="lax"/>
        </attributeGroup>
        <element name="AccessControlProvider" type="conf:PluggableType"/>
+       <element name="htaccess" type="conf:PluggableType"/>
 
     <element name="RequestMap">
                <annotation>
             <sequence>
                <choice minOccurs="0">
                        <element ref="conf:htaccess"/>
+                                       <element ref="conf:AccessControl"/>
                        <element ref="conf:AccessControlProvider"/>
                    </choice>
                 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
                <sequence>
                <choice minOccurs="0">
                        <element ref="conf:htaccess"/>
+                                       <element ref="conf:AccessControl"/>
                        <element ref="conf:AccessControlProvider"/>
                    </choice>
                        <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
                <sequence>
                <choice minOccurs="0">
                        <element ref="conf:htaccess"/>
+                                       <element ref="conf:AccessControl"/>
                        <element ref="conf:AccessControlProvider"/>
                    </choice>
                        <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
 
        <element name="Applications">
                <annotation>
-                       <documentation>
-                       Container for global target settings and application-specific overrides
-                       </documentation>
+                       <documentation>Container for global target settings and application-specific overrides</documentation>
                </annotation>
                <complexType>
                        <sequence>
                     <element ref="saml:AttributeDesignator"/>
                     <element ref="saml:Audience"/>
                     <element name="AAPProvider" type="conf:PluggableType"/>
-                    <element name="FederationProvider" type="conf:PluggableType"/>
+                    <!-- deprecated --> <element name="FederationProvider" type="conf:PluggableType"/>
+                    <element name="MetadataProvider" type="conf:PluggableType"/>
                     <element name="TrustProvider" type="conf:PluggableType"/>
-                    <element name="RevocationProvider" type="conf:PluggableType"/>
                                </choice>
                                <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
                        </sequence>
        
        <element name="Application">
                <annotation>
-                       <documentation>
-                       Container for application-specific overrides
-                       </documentation>
+                       <documentation>Container for application-specific overrides</documentation>
                </annotation>
                <complexType>
                        <sequence>
                     <element ref="saml:AttributeDesignator"/>
                     <element ref="saml:Audience"/>
                     <element name="AAPProvider" type="conf:PluggableType"/>
-                    <element name="FederationProvider" type="conf:PluggableType"/>
+                    <!-- deprecated --> <element name="FederationProvider" type="conf:PluggableType"/>
+                    <element name="MetadataProvider" type="conf:PluggableType"/>
                     <element name="TrustProvider" type="conf:PluggableType"/>
-                    <element name="RevocationProvider" type="conf:PluggableType"/>
                                </choice>
                        </sequence>
                        <attribute name="id" type="string" use="required"/>
                </complexType>
        </element>
 
+       <element name="KeyInfoResolver" type="conf:PluggableType">
+               <annotation>
+                       <documentation>
+                       Custom plug-in that resolves ds:KeyInfo elements into public keys, used in
+                       TrustProvider elements.
+                       </documentation>
+               </annotation>
+       </element>
+
        <element name="Sessions">
                <annotation>
                        <documentation>Container for specifying app session establishment and policy</documentation>
                <complexType>
                        <sequence>
                                <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
-                                       <complexType mixed="false">
-                                               <complexContent>
-                                                       <restriction base="anyType">
-                                                               <attribute name="Name" type="string" use="required"/>
-                                                               <attributeGroup ref="conf:CredentialUseGroup"/>
-                                                       </restriction>
-                                               </complexContent>
+                                       <complexType>
+                                               <sequence>
+                                                       <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+                                               </sequence>
+                                               <attribute name="Name" type="string" use="required"/>
+                                               <attributeGroup ref="conf:CredentialUseGroup"/>
+                                               <anyAttribute namespace="##other" processContents="lax"/>
                                        </complexType>
                                </element>
                                <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>