Questions tagged [unboundid-ldap-sdk]

The UnboundID LDAP SDK for Java is a fast, powerful, user-friendly, and completely free Java API for communicating with LDAPv3 directory servers.

The UnboundID LDAP SDK for Java is a fast, powerful, user-friendly, and completely free Java API for communicating with LDAPv3 directory servers.

Home page: https://www.unboundid.com/products/ldapsdk/

Mailing list: ldap-sdk-discuss@lists.sourceforge.net

Maven download from the central repository:

<dependency>
    <groupId>com.unboundid</groupId>
    <artifactId>unboundid-ldapsdk</artifactId>
    <version>2.3.4</version>
</dependency>
210 questions
0
votes
1 answer

Issue in generating jssecacerts in java

Apologies if this is seems to be duplicate question, My concern here is - i have verified all the post even though i am unable to generate the jssecacerts file. Here is my code for generating the jssecacerts , import javax.net.ssl.*; import…
sasikals26
  • 835
  • 2
  • 18
  • 41
0
votes
1 answer

Specify default values for LDAPField in UnboundID LDAP SDK Persistence Framework

Is there an (easy) way to specify default values for LDAPField annotated variables? For example, I don't want the list myNumericAttr to be null if no values were found but instead would like it to hold an empty list. import…
jansohn
  • 2,246
  • 2
  • 28
  • 40
0
votes
1 answer

Java - LDAP: Attribute is Read-Only

I am using UnboundID-LDAPSDK (2.3.8) to change the user's photo in our Microsoft Active Directory. LDAPConnection ldap = null; try { ldap = new LDAPConnection("domain-srv", 389, "CN=admin,OU=Users,OU=ADM,DC=domain,DC=local",…
Beig
  • 403
  • 1
  • 4
  • 19
0
votes
1 answer

How to Add/customise controls for UnboundID's InMemoryLDAP Server

I am writing a unit test for my code and for testing purpose I am using unboundsId's IN memory LDAP server. I created and conntected to inmemory server and after That i want to perform a sync request but server is saying "InMemory LDAP server do not…
Mubasher
  • 943
  • 1
  • 13
  • 36
0
votes
1 answer

Using UnboundID SDK In-Memory Directory Server in Android App Code

I have tried implementing the unbound id in memory directory server for simulating an LDAP directory for testing purpose. The code works fine as a java application with an LDIF file as sample directory data. But when i use it in my android…
Saurabh Chaturvedi
  • 2,028
  • 2
  • 18
  • 39
0
votes
1 answer

Java example code for SyncRepl usage in ldaptive/UnboundID

I am in the process to create a program that connects to an OpenLDAP database server and receives notifications of every modification done in the DB. During my investigation, I came to the conclusion that SyncRepl is the way to go. As JNDI doesn't…
Tylla
  • 189
  • 2
  • 14
0
votes
2 answers

Cannot establish LDAP SSL connection from WebLogic 12 using UnboundID SDK

I'm using the UnboundID LDAP SDK from a Java EE 6 app running in WLS 12.1.3.0.0 to interact with an LDAP server. Everything works with an open connection. When trying to establish a secure LDAPConnection using a WLS SSLSocketFactory obtained from…
retrodev
  • 2,323
  • 6
  • 24
  • 48
0
votes
1 answer

How to export LDAP data to LDIF format?

I am developing an LDAP web application, which access active directory information. I am using unboundid java sdk for interacting with AD through java code. Now, i am trying to export active directory information in the format of LDIF from AD server…
Anudeep
  • 25
  • 2
  • 9
0
votes
0 answers

How to trigger the pwdFailureTime on OpenDJ LDAP using UnboundID SDK for Java

I have created a Password Policy on OpenDJ LDAP and let's say that if I assigned that Password Policy to a user ('test1'), OpenDJ is going to lock out 'test1' after 3 wrong passwords. I have the confirmation that the Password Policy works well as I…
coocooche
  • 1
  • 1
0
votes
1 answer

What all authentications are taken care of by UnboundId SDK?

I have an active directory on cloud. In our web app we are using LDAP. Now we are in discussion to build a mobile application for our enterprise. I searched for the LDAP client SDK and I got UnboundId ldap sdk for java. I saw some examples but I…
Akshay Sethi
  • 803
  • 3
  • 13
  • 22
0
votes
1 answer

Netscape ldap migration to unboundid

What would be the best way to sort LDAPSearch results res by ascending order with unboundid? Currently, my netscape project has it as follow: res = ldapConfig.search(ldapConfig.getDepartment(), LDAPConnection.SCOPE_SUB, grpFilter, grpAttrs,…
ltalhouarne
  • 4,586
  • 2
  • 22
  • 31
0
votes
1 answer

How to jump to last page in SimplePagedResultsControl - Unboundid

I am providing server side pagination in user interface while showing all active directory record. I have first, next , previous and last button to traverse in record. I am using SimplePagedResultsControl from unboundid sdk which very rich in…
lalit
  • 27
  • 3
0
votes
1 answer

How to retrieve "windows active directory - attributes id's " in java?

I have searched a lot to get the answer for my question. But I can't . What I have got in search : public class RetrieveUserAttributes { public static void main(String[] args) { RetrieveUserAttributes retrieveUserAttributes = new…
Fisher Man
  • 487
  • 1
  • 5
  • 14
0
votes
2 answers

unlock user account using UNBoundID SDK

I am trying to unlock the AD account using UNBoundID, but i am unable to succeed on it. can anyone please help me on this.? One of my try as below, byte[] quotedPasswordBytes=null; final String quotedPassword = '"' + flag + '"'; try { …
sasikals26
  • 835
  • 2
  • 18
  • 41
0
votes
2 answers

Reg. Extending Active Directory Expires using UnboundID LDAP SDK

I am trying to change the active directory account expires setting using UnboundID LDAP SDK. But i can not able to find the way to do it. Can any one please help me on this? I need to know how to extend the Account expires by days and also how we…
sasikals26
  • 835
  • 2
  • 18
  • 41