]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.enterprise/src/org/argeo/osgi/useradmin/LdifName.java
1 package org
.argeo
.osgi
.useradmin
;
3 import javax
.naming
.ldap
.LdapName
;
5 import org
.argeo
.naming
.LdapAttrs
;
6 import org
.argeo
.naming
.LdapObjs
;
9 * Standard LDAP attributes and object classes leveraged in this implementation
10 * of user admin. Named {@link LdifName} in order not to collide with
13 * @deprecated Use {@link LdapAttrs} and {@link LdapObjs} instead.
16 public enum LdifName
{
18 dn
, dc
, cn
, sn
, uid
, mail
, displayName
, objectClass
, userPassword
, givenName
, description
, member
,
20 inetOrgPerson
, organizationalPerson
, person
, groupOfNames
, groupOfUniqueNames
, top
;
22 public final static String PREFIX
= "ldap:";
24 /** For use as XML name. */
25 public String
property() {
26 return PREFIX
+ name();
29 public static LdifName
local(String property
) {
30 return LdifName
.valueOf(property
.substring(PREFIX
.length()));