Hi....
I dont hav any idea how to execute extended operations in spring ldap.First i was using netscape ldap connection and i am able to execute extended operation using ldapconnection...Plz reply... I am giving a snippet of code using netscape ldap connection for extended operation...its working So plz tel me how can i execute extended op in spring ldap..
LDAPConnection ldapTemplate;
LdapExecuteArgument executeArgs = new LdapExecuteArgument(objectId,methodID,parameters);
byte[] vals = new byte[]{};
vals = executeArgs.constructBytes(executeArgs.constructBE R());
LDAPExtendedOperation exop = null;
String OID = "0.0.17.1218.127.127.10";
exop = new LDAPExtendedOperation(OID, vals );
LDAPExtendedOperation exres = null;
exres = ldapTemplate.extendedOperation( exop );//no such method in spring ldaptemplate
LdapExecuteResult res = new LdapExecuteResult(exres.getValue());
I dont hav any idea how to execute extended operations in spring ldap.First i was using netscape ldap connection and i am able to execute extended operation using ldapconnection...Plz reply... I am giving a snippet of code using netscape ldap connection for extended operation...its working So plz tel me how can i execute extended op in spring ldap..
LDAPConnection ldapTemplate;
LdapExecuteArgument executeArgs = new LdapExecuteArgument(objectId,methodID,parameters);
byte[] vals = new byte[]{};
vals = executeArgs.constructBytes(executeArgs.constructBE R());
LDAPExtendedOperation exop = null;
String OID = "0.0.17.1218.127.127.10";
exop = new LDAPExtendedOperation(OID, vals );
LDAPExtendedOperation exres = null;
exres = ldapTemplate.extendedOperation( exop );//no such method in spring ldaptemplate
LdapExecuteResult res = new LdapExecuteResult(exres.getValue());
Comment