AnsweredAssumed Answered

LDAPS over port 636

Question asked by sdwilly22 on Apr 17, 2013
Latest reply on Apr 18, 2013 by ronald.van.kuijk
Has anyone  gotten Activiti to integrate with ldap over port 636 with ldaps?

I am using org.apache.directory.ldap.client.api.LdapConnection;

and trying to connect like this.

LdapConnection connection = new LdapConnection(connectionParams.getLdapServer(), connectionParams.getLdapPort(),true);


But I am getting an error like this

Caused by: org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is null
   at org.apache.directory.ldap.client.api.LdapConnection.checkSession(LdapConnection.java:253)
   at org.apache.directory.ldap.client.api.LdapConnection.bindAsync(LdapConnection.java:1328)
   at org.apache.directory.ldap.client.api.LdapConnection.bind(LdapConnection.java:1104)
   at org.apache.directory.ldap.client.api.LdapConnection.bind(LdapConnection.java:1012)
   at org.bpmnwithactiviti.chapter10.ldap.LDAPUserManager.checkPassword(LDAPUserManager.java:122)

Outcomes