Skip to content

Tag: ldap

Retrieving data from LDAP

I want to fetch data from LDAP server. I can retrieve all users from the list. But now, what I want to do is get the person list under ‘directReports’ attribute. It returns users as java Objects. I cannot convert them to any type other than toString(). What I have done is convert objects to String…

Spring Boot REST API using LDAP authentication

So I’m trying to build a REST API that will use LDAP authentication. Basically, when my login endpoint is consumed, I want it to detect credentials using httpBasic authentication and then use those credentials against my LDAP server. I also want to take into account user roles, protecting endpoints so t…

LDAPS : Simple bind failed

I’m facing issue connecting to LDAPS from my application. I have imported all necessary certificates on JRE keystore. I’m able to make calls to LDAPs when I put the following string in java.security When I change this line to my connection fails with following error: In wireshark it complains abou…