Retrieve Attributes object by calling addSubcontext() method of the DirContext object and fill it with attributes
Retrieve Attributes object by calling createSubcontext() method of the DirContext object and call addAttribute() method to add attributes
Pass a string of the form "cn=NewUser,sn=Smith,mail=newuser@foo.com" to the addEntry() method of the DirContext object
Create Attributes object, fill it with attributes and call createSubcontext() method of the LdapSession object
Adding entries is an administrative tasks and should be done via LDAP server backend
Create Attributes object, fill it with attributes and call createSubcontext() method of the DirContext object
|