13.07.2015 Views

The LDAP Join Control - UnboundID

The LDAP Join Control - UnboundID

The LDAP Join Control - UnboundID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Java Object Persistence: Annotated Objectpackage com.unboundid.example;import com.unboundid.ldap.sdk.persist.*;@<strong>LDAP</strong>Object(structuralClass="myUser")public class User {@<strong>LDAP</strong>Field(attibute="uid", inRDN=true,required=true)private String userID;@<strong>LDAP</strong>Field(attibute="givenName")private String firstName;@<strong>LDAP</strong>Field(attibute="sn", required=true)private String lastName;@<strong>LDAP</strong>Field(attibute="cn", required=true)private String fullName;@<strong>LDAP</strong>Field(attibute="mail")private String eMailAddress;@<strong>LDAP</strong>Field(attibute="userPassword")private String password;}// Constructors, getters, setters, etc.46

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!