Added option to Simple Attribute Definition PlugIn to force values to lower case...
[java-idp.git] / src / schemas / shibboleth-resolver-1.0.xsd
index 3e019dc..2f078e3 100644 (file)
@@ -10,6 +10,8 @@
                                                                <xs:attribute name="sourceName" type="xs:string" use="optional"/>
                                                                <xs:attribute name="smartScope" type="xs:string" use="optional"/>
                                                                <xs:attribute name="valueHandler" type="xs:string" use="optional"/>
+                                                               <xs:attribute name="allowEmpty" type="xs:boolean" use="optional"/>
+                                                               <xs:attribute name="downCase" type="xs:boolean" use="optional"/>
                                                        </xs:extension>
                                                </xs:complexContent>
                                        </xs:complexType>
                                <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:sequence>
                                                                <xs:attribute name="dbURL" type="xs:string" use="required"/>
                                                                <xs:attribute name="dbDriver" type="xs:string" use="optional"/>
+                                                               <xs:attribute name="validationQuery" type="xs:string" use="optional" default="select 1"/>
                                                                <xs:attribute name="maxActive" type="xs:integer" use="optional"/>
                                                                <xs:attribute name="maxIdle" type="xs:integer" use="optional"/>
+                                                               <xs:attribute name="maxWait" type="xs:integer" use="optional"/>
+                                                               <xs:attribute name="minResultSet" type="xs:integer" use="optional"/>
+                                                               <xs:attribute name="maxResultSet" type="xs:integer" use="optional"/>
+                                                               <xs:attribute name="retryInterval" type="xs:integer" use="optional"/>
                                                        </xs:extension>
                                                </xs:complexContent>
                                        </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>