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

mkeyes
16.09.2007 b8d8a25b9a56a8ba76dc871ed150d7efaf97701e
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
89
90
91
92
93
94
95
96
97
98
99
<?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="oid-type">
    <xsd:annotation>
      <xsd:documentation>A numeric OID.</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:token">
      <xsd:pattern value="([0-9]+(\.[0-9]+)*)|([a-zA-Z][a-zA-Z0-9\-_]*-oid)" />
    </xsd:restriction>
  </xsd:simpleType>
  <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="oid" type="tns:oid-type">
          <xsd:annotation>
            <xsd:documentation>
              The numeric OID of the LDAP object class.
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <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="oid" type="tns:oid-type">
          <xsd:annotation>
            <xsd:documentation>
              The numeric OID of the LDAP attribute.
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <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="rdn-sequence" type="xsd:token">
    <xsd:annotation>
      <xsd:documentation>A sequence of RDNs.</xsd:documentation>
    </xsd:annotation>
  </xsd:element>
</xsd:schema>