1 package org.argeo.naming;
2
3
4
5
6
7
8 public enum LdapObjs implements SpecifiedName {
9 account("0.9.2342.19200300.100.4.5", "RFC 4524"),
10
11 document("0.9.2342.19200300.100.4.6", "RFC 4524"),
12
13 room("0.9.2342.19200300.100.4.7", "RFC 4524"),
14
15 documentSeries("0.9.2342.19200300.100.4.9", "RFC 4524"),
16
17 domain("0.9.2342.19200300.100.4.13", "RFC 4524"),
18
19 rFC822localPart("0.9.2342.19200300.100.4.14", "RFC 4524"),
20
21 domainRelatedObject("0.9.2342.19200300.100.4.17", "RFC 4524"),
22
23 friendlyCountry("0.9.2342.19200300.100.4.18", "RFC 4524"),
24
25 simpleSecurityObject("0.9.2342.19200300.100.4.19", "RFC 4524"),
26
27 uidObject("1.3.6.1.1.3.1", "RFC 4519"),
28
29 extensibleObject("1.3.6.1.4.1.1466.101.120.111", "RFC 4512"),
30
31 dcObject("1.3.6.1.4.1.1466.344", "RFC 4519"),
32
33 authPasswordObject("1.3.6.1.4.1.4203.1.4.7", "RFC 3112"),
34
35 namedObject("1.3.6.1.4.1.5322.13.1.1", "draft-howard-namedobject"),
36
37 inheritableLDAPSubEntry("1.3.6.1.4.1.7628.5.6.1.1", "draft-ietf-ldup-subentry"),
38
39 top("2.5.6.0", "RFC 4512"),
40
41 alias("2.5.6.1", "RFC 4512"),
42
43 country("2.5.6.2", "RFC 4519"),
44
45 locality("2.5.6.3", "RFC 4519"),
46
47 organization("2.5.6.4", "RFC 4519"),
48
49 organizationalUnit("2.5.6.5", "RFC 4519"),
50
51 person("2.5.6.6", "RFC 4519"),
52
53 organizationalPerson("2.5.6.7", "RFC 4519"),
54
55 organizationalRole("2.5.6.8", "RFC 4519"),
56
57 groupOfNames("2.5.6.9", "RFC 4519"),
58
59 residentialPerson("2.5.6.10", "RFC 4519"),
60
61 applicationProcess("2.5.6.11", "RFC 4519"),
62
63 device("2.5.6.14", "RFC 4519"),
64
65 strongAuthenticationUser("2.5.6.15", "RFC 4523"),
66
67 certificationAuthority("2.5.6.16", "RFC 4523"),
68
69
70
71
72 groupOfUniqueNames("2.5.6.17", "RFC 4519"),
73
74 userSecurityInformation("2.5.6.18", "RFC 4523"),
75
76 cRLDistributionPoint("2.5.6.19", "RFC 4523"),
77
78 pkiUser("2.5.6.21", "RFC 4523"),
79
80 pkiCA("2.5.6.22", "RFC 4523"),
81
82 deltaCRL("2.5.6.23", "RFC 4523"),
83
84 subschema("2.5.20.1", "RFC 4512"),
85
86 ldapSubEntry("2.16.840.1.113719.2.142.6.1.1", "draft-ietf-ldup-subentry"),
87
88 changeLogEntry("2.16.840.1.113730.3.2.1", "draft-good-ldap-changelog"),
89
90 inetOrgPerson("2.16.840.1.113730.3.2.2", "RFC 2798"),
91
92 referral("2.16.840.1.113730.3.2.6", "RFC 3296");
93
94 private final static String LDAP_ = "ldap:";
95 private final String oid, spec;
96
97 private LdapObjs(String oid, String spec) {
98 this.oid = oid;
99 this.spec = spec;
100 }
101
102 public String getOid() {
103 return oid;
104 }
105
106 public String getSpec() {
107 return spec;
108 }
109
110 public String property() {
111 return new StringBuilder(LDAP_).append(name()).toString();
112 }
113
114 }