Spring LDAP

org.springframework.ldap.odm.annotations
Annotation Type Entry


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Entry

This annotation marks a Java class to be persisted in an LDAP directory.

Author:
Paul Harvey <paul.at.pauls-place.me.uk>

Required Element Summary
 String[] objectClasses
          A list of LDAP object classes that the annotated Java class represents.
 
Optional Element Summary
 String base
          The base DN of this entry.
 

Element Detail

objectClasses

public abstract String[] objectClasses
A list of LDAP object classes that the annotated Java class represents.

All fields will be persisted to LDAP unless annotated Transient.

Returns:
A list of LDAP classes which the annotated Java class represents.

base

public abstract String base
The base DN of this entry. If specified, this will be prepended to all calculated distinguished names for entries of the annotated class.

Returns:
the base DN for entries of this class
Default:
""

Spring LDAP