Skip to content

Tag: ldap

Error creating a login using LDAP

I’m trying to create a page with spring to authenticate using ldap. I followed the official guide but trying to connect to my active directory instead of a test code. AppApplication.java HomeController.java WebSecurityConfig StackTrace I think the error is in the LDAP connection, but I think I have all …

Rmiregistry vs LDAP

I have recently discovered the Java RMI API and I am using the Rmiregistry to store and get the remote objects. Then, I saw that we can use LDAP to do this task. I was interseted by this approach but …

jndi LDAPS custom HostnameVerifier and TrustManager

We are writing an application that shall connect to different LDAP servers. For each server we may only accept a certain certificate. The hostname in that certificate shall not matter. This is easy, when we use LDAP and STARTTLS, because we can use StartTlsResponse.setHostnameVerifier(..-) and use StartTlsRes…