pethams member offline  |
| |
| posts: |
|
| joined: |
05/30/2011 |
| from: |
newark, CA |
|
|
 |
|
|
| adding an LdapEntry with VLV control |
does any one have a sample...
I need to add and ldapentry, but with VLV control being updated. Here are the APIs i am looking at..
LDAPConnection.add(LDAPEntry entry, LDAPConstraints cons) So i need LDAPConstraints... LDAPConstraints.setServerControls(LDAPControl) So i need LDAPControl LDAPControl(java.lang.String id, boolean critical, byte[] vals) I know the OID 2.16.840.1.113730.3.4.9 boolean TRUE but i have no idea on how to create byte[] vals....
|
|
|
|
|
|