Sample using spring security to encrypt LDAP passwords