go to  ForumEasy.com   
LdapPro  
 
 
   Home  |  MyForum  |  FAQ  |  Archive    You are not logged in. [Login] or [Register]  
Forum Home » LDAP Operations & Controls » adding an LdapEntry with VLV control
Email To Friend  |   Set Alert To This Topic Rewarding Points Availabe: 0 (What's this) New Topic  |   Post Reply
Author Topic: adding an LdapEntry with VLV control
pethams
member
offline   
 
posts:
joined: 05/30/2011
from: newark, CA
  posted on: 05/30/2011 02:53:36 PM    Edit  |   Quote  |   Report 
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....
 Profile | Reply Points Earned: 0

 
Powered by ForumEasy © 2003-2005, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.