Factored out BaseDataConnector class
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 18 Sep 2003 19:14:22 +0000 (19:14 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 18 Sep 2003 19:14:22 +0000 (19:14 +0000)
Added option to mask errors in a PlugIn from parents.

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@761 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/shibboleth-resolver-1.0.xsd

index 3e019dc..23c1ceb 100644 (file)
                                <xs:element name="CustomDataConnector" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
                                                <xs:complexContent>
-                                                       <xs:extension base="resolver:BaseResolutionPlugIn">
+                                                       <xs:extension base="resolver:BaseDataConnector">
                                                                <xs:sequence>
-                                                                       <xs:element name="FailoverDependency" minOccurs="0">
-                                                                               <xs:complexType>
-                                                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
-                                                                               </xs:complexType>
-                                                                       </xs:element>
                                                                        <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
                                                                </xs:sequence>
                                                                <xs:attribute name="class" type="xs:string" use="required"/>
                                <xs:element name="JNDIDirectoryDataConnector" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
                                                <xs:complexContent>
-                                                       <xs:extension base="resolver:BaseResolutionPlugIn">
+                                                       <xs:extension base="resolver:BaseDataConnector">
                                                                <xs:sequence>
-                                                                       <xs:element name="FailoverDependency" minOccurs="0">
-                                                                               <xs:complexType>
-                                                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
-                                                                               </xs:complexType>
-                                                                       </xs:element>
                                                                        <xs:element name="Search">
                                                                                <xs:complexType>
                                                                                        <xs:sequence minOccurs="0">
                                <xs:element name="JDBCDataConnector" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
                                                <xs:complexContent>
-                                                       <xs:extension base="resolver:BaseResolutionPlugIn">
+                                                       <xs:extension base="resolver:BaseDataConnector">
                                                                <xs:sequence>
-                                                                       <xs:element name="FailoverDependency" minOccurs="0">
-                                                                               <xs:complexType>
-                                                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
-                                                                               </xs:complexType>
-                                                                       </xs:element>
                                                                        <xs:element name="Query" type="xs:string"/>
                                                                        <xs:element name="AttributeExtractor" minOccurs="0">
                                                                                <xs:complexType>
                        </xs:extension>
                </xs:complexContent>
        </xs:complexType>
+       <xs:complexType name="BaseDataConnector">
+               <xs:complexContent>
+                       <xs:extension base="resolver:BaseResolutionPlugIn">
+                               <xs:sequence>
+                                       <xs:element name="FailoverDependency" minOccurs="0">
+                                               <xs:complexType>
+                                                       <xs:attribute name="requires" type="xs:string" use="required"/>
+                                               </xs:complexType>
+                                       </xs:element>
+                               </xs:sequence>
+                       </xs:extension>
+               </xs:complexContent>
+       </xs:complexType>
        <xs:complexType name="BaseResolutionPlugIn">
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                        <xs:element name="DataConnectorDependency">
                </xs:choice>
                <xs:attribute name="id" type="xs:string" use="required"/>
                <xs:attribute name="cacheTime" type="xs:string" use="optional"/>
+               <xs:attribute name="propagateErrors" type="xs:boolean" use="optional" default="true"/>
        </xs:complexType>
 </xs:schema>