XML Schema
A sample XML-format schema for the configuration of the attribute connector. Copy this content to a new file named ldap-config.xsd
.
ldap-config.xsd
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://www.axiomatics.com/ldap.config"
xmlns:tns="http://www.axiomatics.com/ldap.config" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="configuration" type="tns:configuration"/>
<xs:complexType name="configuration">
<xs:sequence>
<xs:element name="connnection" type="tns:connnectionMap"/>
<xs:element name="mapping" type="tns:mappingItem" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="connnectionMap">
<xs:sequence>
<xs:element name="key" type="tns:mapEntryType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="mapEntryType">
<xs:sequence/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
</xs:complexType>
<xs:complexType name="mappingItem">
<xs:sequence>
<xs:element name="xacmlAttribute" type="tns:xacmlAttributeItem"/>
<xs:element name="nativeAttribute" type="tns:nativeAttributeItem"/>
<xs:element name="uId" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="xacmlAttributeItem">
<xs:sequence/>
<xs:attribute name="AttributeId" type="xs:string"/>
<xs:attribute name="Category" type="xs:string"/>
<xs:attribute name="DataType" type="xs:string"/>
<xs:attribute name="Issuer" type="xs:string"/>
</xs:complexType>
<xs:complexType name="nativeAttributeItem">
<xs:sequence>
<xs:element name="searchSelection" type="xs:string"/>
<xs:element name="searchBase" type="xs:string"/>
<xs:element name="searchBaseKey">
<xs:complexType>
<xs:sequence>
<xs:element name="xacmlAttribute" type="tns:xacmlAttributeItem" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="allowMultiple" type="xs:boolean"/>
</xs:complexType>
</xs:element>
<xs:element name="searchScope" type="xs:int"/>
<xs:element name="searchFilter" type="xs:string"/>
<xs:element name="key">
<xs:complexType>
<xs:sequence>
<xs:element name="xacmlAttribute" type="tns:xacmlAttributeItem" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="allowMultiple" type="xs:boolean"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>