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)