Hi all~
I have the similar question~
I just override LDAP jar code, add some log.warn to show the username and password.
When I login on Activiti-Explorer, I got error message "Could not log you in", but not show error in log as below
Now I don't know what happen? Could I login Activiti-explorer using LDAP?
PS: My LDAP username/Password is right, I test it on LDAPExlorer.
11:31:30,840 [http-apr-8080-exec-5] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
11:31:30,842 [http-apr-8080-exec-5] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
11:31:30,843 [http-apr-8080-exec-5] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
11:31:39,261 [http-apr-8080-exec-8] DEBUG org.activiti.engine.impl.interceptor.LogInterceptor -
11:31:39,262 [http-apr-8080-exec-8] DEBUG org.activiti.engine.impl.interceptor.LogInterceptor - — starting CheckPassword ——————————————————–
11:31:39,263 [http-apr-8080-exec-8] DEBUG org.activiti.spring.SpringTransactionInterceptor - Running command with propagation REQUIRED
11:31:39,264 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceTransactionManager - Creating new transaction with name [null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT
11:31:39,265 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:mysql://localhost:3306/activiti?useSSL=false]
11:31:39,271 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceTransactionManager - Acquired Connection [com.mysql.jdbc.JDBC4Connection@37dbbd35] for JDBC transaction
11:31:39,272 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceTransactionManager - Switching JDBC Connection [com.mysql.jdbc.JDBC4Connection@37dbbd35] to manual commit
11:31:39,347 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - userId: MyUserID
11:31:39,347 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - password: Secret
11:31:39,348 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - ldapConfigurator.getUser: MyUserID
11:31:39,349 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - ldapConfigurator.getPassword: Secret
11:31:39,349 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - ldapConfigurator.getBaseDn: dc=vch,dc=corp
11:31:39,350 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - ldapConfigurator.getUserBaseDn: null
11:31:39,400 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPConnectionUtil - SECURITY_PRINCIPAL: MyUserID
11:31:39,400 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPConnectionUtil - SECURITY_CREDENTIALS: Secret
11:31:39,510 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - baseDn: dc=vch,dc=corp
11:31:39,682 [http-apr-8080-exec-8] WARN org.activiti.ldap.LDAPUserManager - userDn: null
11:31:39,683 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceTransactionManager - Initiating transaction commit
11:31:39,684 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceTransactionManager - Committing JDBC transaction on Connection [com.mysql.jdbc.JDBC4Connection@37dbbd35]
11:31:39,687 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceTransactionManager - Releasing JDBC Connection [com.mysql.jdbc.JDBC4Connection@37dbbd35] after transaction
11:31:39,688 [http-apr-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
11:31:39,689 [http-apr-8080-exec-8] DEBUG org.activiti.engine.impl.interceptor.LogInterceptor - — CheckPassword finished ——————————————————–
11:31:39,690 [http-apr-8080-exec-8] DEBUG org.activiti.engine.impl.interceptor.LogInterceptor -
11:31:39,695 [http-apr-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
11:31:39,696 [http-apr-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
11:31:39,698 [http-apr-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
11:31:39,699 [http-apr-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
11:31:39,699 [http-apr-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.messageSource'
My Environment: Acitviti 5.19, MySQL, Tomcat 7.0.67, JDK 1.7
My activiti-custom-context.xml and activiti-ui-context.xml as attached file