Yes, encrypted is required.
On Wednesday, February 3, 2016, Wu XIANG <[email protected]> wrote: > Hi all, > > I'm configuring LDAP integration for Kylin. However, I got the > following error when I start Kylin server: > > *"Invalid bean definition with name 'ldapSource' defined in class path > resource [kylinSecurity.xml]: Input length must be multiple of 16 when > decrypting with padded cipher"* > > After a little bit of digging, I found this was due to " > *PasswordPlaceholderConfigurer*", which tries to decrypt passwords in > kylin.properties file. Does this mean passwords like "ldap.password" in > kylin.properties should be encrypted ? If so, I hope it's documented in > tutorial. > > // PasswordPlaceholderConfigurer.java:Line71 > > protected String resolvePlaceholder(String placeholder, Properties props) { > > if (placeholder.toLowerCase().contains("password")) { > > return decrypt(props.getProperty(placeholder)); > > } else { > > return props.getProperty(placeholder); > > } > > } > > > p.s. > > Kylin Branch: v1.2-release > > > thanks > *wu* >
