Hello all, I finally succeed to integrate Activiti with Ldap but unfortunately, when doing a random test I knew that anyone who know just the usersID can log in successfully by inserting a random password.
Why Activiti / LDAP is not checking the passwords ?
Just tested and I get this: <code> javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: Cannot authenticate user …] </code> try adding a breakpoint here: LDAPConnectionUtil.java <code> public static InitialDirContext createDirectoryContext(LDAPConfigurator ldapConfigurator, String principal, String credentials) {…} </code> and with the debugger you'll see step by step what's happening when bind operation is done.