]>
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
;
6 * Standard LDAP attributes and object classes leveraged in this implementation
7 * of user admin. Named {@link LdifName} in order not to collide with
10 public enum LdifName
{
12 dn
, dc
, cn
, sn
, uid
, mail
, displayName
, objectClass
, userPassword
, givenName
, description
, member
,
14 inetOrgPerson
, organizationalPerson
, person
, groupOfNames
, groupOfUniqueNames
, top
;
16 public final static String PREFIX
= "ldap:";
18 /** For use as XML name. */
19 public String
property() {
20 return PREFIX
+ name();
23 public static LdifName
local(String property
) {
24 return LdifName
.valueOf(property
.substring(PREFIX
.length()));