]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.enterprise/src/org/argeo/naming/LdapAttrs.java
1 package org
.argeo
.naming
;
4 * Standard LDAP attributes as per
5 * <a href="https://www.ldap.com/ldap-oid-reference">https://www.ldap.com/ldap-
8 public enum LdapAttrs
implements SpecifiedName
{
10 uid("0.9.2342.19200300.100.1.1", "RFC 4519"),
12 mail("0.9.2342.19200300.100.1.3", "RFC 4524"),
14 info("0.9.2342.19200300.100.1.4", "RFC 4524"),
16 drink("0.9.2342.19200300.100.1.5", "RFC 4524"),
18 roomNumber("0.9.2342.19200300.100.1.6", "RFC 4524"),
20 photo("0.9.2342.19200300.100.1.7", "RFC 2798"),
22 userClass("0.9.2342.19200300.100.1.8", "RFC 4524"),
24 host("0.9.2342.19200300.100.1.9", "RFC 4524"),
26 manager("0.9.2342.19200300.100.1.10", "RFC 4524"),
28 documentIdentifier("0.9.2342.19200300.100.1.11", "RFC 4524"),
30 documentTitle("0.9.2342.19200300.100.1.12", "RFC 4524"),
32 documentVersion("0.9.2342.19200300.100.1.13", "RFC 4524"),
34 documentAuthor("0.9.2342.19200300.100.1.14", "RFC 4524"),
36 documentLocation("0.9.2342.19200300.100.1.15", "RFC 4524"),
38 homePhone("0.9.2342.19200300.100.1.20", "RFC 4524"),
40 secretary("0.9.2342.19200300.100.1.21", "RFC 4524"),
42 dc("0.9.2342.19200300.100.1.25", "RFC 4519"),
44 associatedDomain("0.9.2342.19200300.100.1.37", "RFC 4524"),
46 associatedName("0.9.2342.19200300.100.1.38", "RFC 4524"),
48 homePostalAddress("0.9.2342.19200300.100.1.39", "RFC 4524"),
50 personalTitle("0.9.2342.19200300.100.1.40", "RFC 4524"),
52 mobile("0.9.2342.19200300.100.1.41", "RFC 4524"),
54 pager("0.9.2342.19200300.100.1.42", "RFC 4524"),
56 co("0.9.2342.19200300.100.1.43", "RFC 4524"),
58 uniqueIdentifier("0.9.2342.19200300.100.1.44", "RFC 4524"),
60 organizationalStatus("0.9.2342.19200300.100.1.45", "RFC 4524"),
62 buildingName("0.9.2342.19200300.100.1.48", "RFC 4524"),
64 audio("0.9.2342.19200300.100.1.55", "RFC 2798"),
66 documentPublisher("0.9.2342.19200300.100.1.56", "RFC 4524"),
68 jpegPhoto("0.9.2342.19200300.100.1.60", "RFC 2798"),
70 vendorName("1.3.6.1.1.4", "RFC 3045"),
72 vendorVersion("1.3.6.1.1.5", "RFC 3045"),
74 entryUUID("1.3.6.1.1.16.4", "RFC 4530"),
76 entryDN("1.3.6.1.1.20", "RFC 5020"),
78 labeledURI("1.3.6.1.4.1.250.1.57", "RFC 2798"),
80 numSubordinates("1.3.6.1.4.1.453.16.2.103", "draft-ietf-boreham-numsubordinates"),
82 namingContexts("1.3.6.1.4.1.1466.101.120.5", "RFC 4512"),
84 altServer("1.3.6.1.4.1.1466.101.120.6", "RFC 4512"),
86 supportedExtension("1.3.6.1.4.1.1466.101.120.7", "RFC 4512"),
88 supportedControl("1.3.6.1.4.1.1466.101.120.13", "RFC 4512"),
90 supportedSASLMechanisms("1.3.6.1.4.1.1466.101.120.14", "RFC 4512"),
92 supportedLDAPVersion("1.3.6.1.4.1.1466.101.120.15", "RFC 4512"),
94 ldapSyntaxes("1.3.6.1.4.1.1466.101.120.16", "RFC 4512"),
96 supportedAuthPasswordSchemes("1.3.6.1.4.1.4203.1.3.3", "RFC 3112"),
98 authPassword("1.3.6.1.4.1.4203.1.3.4", "RFC 3112"),
100 supportedFeatures("1.3.6.1.4.1.4203.1.3.5", "RFC 4512"),
102 inheritable("1.3.6.1.4.1.7628.5.4.1", "draft-ietf-ldup-subentry"),
104 blockInheritance("1.3.6.1.4.1.7628.5.4.2", "draft-ietf-ldup-subentry"),
106 objectClass("2.5.4.0", "RFC 4512"),
108 aliasedObjectName("2.5.4.1", "RFC 4512"),
110 cn("2.5.4.3", "RFC 4519"),
112 sn("2.5.4.4", "RFC 4519"),
114 serialNumber("2.5.4.5", "RFC 4519"),
116 c("2.5.4.6", "RFC 4519"),
118 l("2.5.4.7", "RFC 4519"),
120 st("2.5.4.8", "RFC 4519"),
122 street("2.5.4.9", "RFC 4519"),
124 o("2.5.4.10", "RFC 4519"),
126 ou("2.5.4.11", "RFC 4519"),
128 title("2.5.4.12", "RFC 4519"),
130 description("2.5.4.13", "RFC 4519"),
132 searchGuide("2.5.4.14", "RFC 4519"),
134 businessCategory("2.5.4.15", "RFC 4519"),
136 postalAddress("2.5.4.16", "RFC 4519"),
138 postalCode("2.5.4.17", "RFC 4519"),
140 postOfficeBox("2.5.4.18", "RFC 4519"),
142 physicalDeliveryOfficeName("2.5.4.19", "RFC 4519"),
144 telephoneNumber("2.5.4.20", "RFC 4519"),
146 telexNumber("2.5.4.21", "RFC 4519"),
148 teletexTerminalIdentifier("2.5.4.22", "RFC 4519"),
150 facsimileTelephoneNumber("2.5.4.23", "RFC 4519"),
152 x121Address("2.5.4.24", "RFC 4519"),
154 internationalISDNNumber("2.5.4.25", "RFC 4519"),
156 registeredAddress("2.5.4.26", "RFC 4519"),
158 destinationIndicator("2.5.4.27", "RFC 4519"),
160 preferredDeliveryMethod("2.5.4.28", "RFC 4519"),
162 member("2.5.4.31", "RFC 4519"),
164 owner("2.5.4.32", "RFC 4519"),
166 roleOccupant("2.5.4.33", "RFC 4519"),
168 seeAlso("2.5.4.34", "RFC 4519"),
170 userPassword("2.5.4.35", "RFC 4519"),
172 userCertificate("2.5.4.36", "RFC 4523"),
174 cACertificate("2.5.4.37", "RFC 4523"),
176 authorityRevocationList("2.5.4.38", "RFC 4523"),
178 certificateRevocationList("2.5.4.39", "RFC 4523"),
180 crossCertificatePair("2.5.4.40", "RFC 4523"),
182 name("2.5.4.41", "RFC 4519"),
184 givenName("2.5.4.42", "RFC 4519"),
186 initials("2.5.4.43", "RFC 4519"),
188 generationQualifier("2.5.4.44", "RFC 4519"),
190 x500UniqueIdentifier("2.5.4.45", "RFC 4519"),
192 dnQualifier("2.5.4.46", "RFC 4519"),
194 enhancedSearchGuide("2.5.4.47", "RFC 4519"),
196 distinguishedName("2.5.4.49", "RFC 4519"),
198 uniqueMember("2.5.4.50", "RFC 4519"),
200 houseIdentifier("2.5.4.51", "RFC 4519"),
202 supportedAlgorithms("2.5.4.52", "RFC 4523"),
204 deltaRevocationList("2.5.4.53", "RFC 4523"),
206 createTimestamp("2.5.18.1", "RFC 4512"),
208 modifyTimestamp("2.5.18.2", "RFC 4512"),
210 creatorsName("2.5.18.3", "RFC 4512"),
212 modifiersName("2.5.18.4", "RFC 4512"),
214 subschemaSubentry("2.5.18.10", "RFC 4512"),
216 dITStructureRules("2.5.21.1", "RFC 4512"),
218 dITContentRules("2.5.21.2", "RFC 4512"),
220 matchingRules("2.5.21.4", "RFC 4512"),
222 attributeTypes("2.5.21.5", "RFC 4512"),
224 objectClasses("2.5.21.6", "RFC 4512"),
226 nameForms("2.5.21.7", "RFC 4512"),
228 matchingRuleUse("2.5.21.8", "RFC 4512"),
230 structuralObjectClass("2.5.21.9", "RFC 4512"),
232 governingStructureRule("2.5.21.10", "RFC 4512"),
234 carLicense("2.16.840.1.113730.3.1.1", "RFC 2798"),
236 departmentNumber("2.16.840.1.113730.3.1.2", "RFC 2798"),
238 employeeNumber("2.16.840.1.113730.3.1.3", "RFC 2798"),
240 employeeType("2.16.840.1.113730.3.1.4", "RFC 2798"),
242 changeNumber("2.16.840.1.113730.3.1.5", "draft-good-ldap-changelog"),
244 targetDN("2.16.840.1.113730.3.1.6", "draft-good-ldap-changelog"),
246 changeType("2.16.840.1.113730.3.1.7", "draft-good-ldap-changelog"),
248 changes("2.16.840.1.113730.3.1.8", "draft-good-ldap-changelog"),
250 newRDN("2.16.840.1.113730.3.1.9", "draft-good-ldap-changelog"),
252 deleteOldRDN("2.16.840.1.113730.3.1.10", "draft-good-ldap-changelog"),
254 newSuperior("2.16.840.1.113730.3.1.11", "draft-good-ldap-changelog"),
256 ref("2.16.840.1.113730.3.1.34", "RFC 3296"),
258 changelog("2.16.840.1.113730.3.1.35", "draft-good-ldap-changelog"),
260 preferredLanguage("2.16.840.1.113730.3.1.39", "RFC 2798"),
262 userSMIMECertificate("2.16.840.1.113730.3.1.40", "RFC 2798"),
264 userPKCS12("2.16.840.1.113730.3.1.216", "RFC 2798"),
266 displayName("2.16.840.1.113730.3.1.241", "RFC 2798");
268 public final static String DN
= "dn";
270 private final static String LDAP_
= "ldap:";
272 private final String oid
, spec
;
274 LdapAttrs(String oid
, String spec
) {
280 public String
getID() {
285 public String
getSpec() {
289 public String
property() {
290 return new StringBuilder(LDAP_
).append(name()).toString();