mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
27.31.2013 09f30ce612f9df6508e2dafe0abb8fe0f448e9cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.opends.org/admin-ldap"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified"
  xmlns:tns="http://www.opends.org/admin-ldap">
  <xsd:annotation>
    <xsd:documentation>
      This schema defines the elements and attributes of the "ldap"
      profile. This profile specifies the relationship between managed
      objects and their representation in LDAP. For example, each
      managed object is associated with an LDAP object class and each
      property is associated with an LDAP attribute. Using this profile
      it should also be possible to generate the LDAP configuration
      schema.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType name="name-type">
    <xsd:annotation>
      <xsd:documentation>
        A LDAP attribute type or object class name.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="[a-zA-Z][a-zA-Z0-9\-_]*" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:element name="object-class">
    <xsd:annotation>
      <xsd:documentation>
        Defines which LDAP object class a managed object should be
        mapped to.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="name" type="tns:name-type">
          <xsd:annotation>
            <xsd:documentation>
              The name of the LDAP object class.
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="superior" type="tns:name-type">
          <xsd:annotation>
            <xsd:documentation>
              The name of the parent LDAP object class.
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="attribute">
    <xsd:annotation>
      <xsd:documentation>
        Defines which LDAP attribute a managed object property should be
        mapped to.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="name" type="tns:name-type">
          <xsd:annotation>
            <xsd:documentation>
              The name of the LDAP attribute.
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="naming-attribute" type="tns:name-type">
    <xsd:annotation>
      <xsd:documentation>
        Defines which LDAP attribute should be used to name child
        managed objects referenced by a relation. When not specified,
        "cn" is used by default. When the relation uses a naming
        property this element is not required, instead the LDAP
        attribute associated with the naming property will be used.
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  <xsd:element name="rdn-sequence" type="xsd:token">
    <xsd:annotation>
      <xsd:documentation>A sequence of RDNs.</xsd:documentation>
    </xsd:annotation>
  </xsd:element>
</xsd:schema>