ca.tnt.ldaputils.annotations
Annotation Type LdapEntity


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface LdapEntity

If you annotate with this, your POJO MUST contain an @DN annotation as well.

It is recommended, though not required, that you inherit from LdapEntry, as it covers a lot of functionality that is useful for updating LDAP. If you do not plan on doing updates to LDAP, then there is no added benefit when inheriting from LdapEntry, and a simple POJO will suit your needs just fine.

Created : 16-Aug-2010 7:26:38 PM MST

Author:
Trenton D. Adams

Optional Element Summary
 String[] requiredObjectClasses
          The object classes that must be present for loading of this object to be successful.
 

requiredObjectClasses

public abstract String[] requiredObjectClasses
The object classes that must be present for loading of this object to be successful.

e.g. organization, labeledURIObject, person, inetOrgPerson, organizationalPerson, etc

Returns:
the String array of objectClasses
Default:
{}