I already explained that this doesn't make sense.
Hashes like MD5 are irreversible - it is impossible to obtain the original value from the hash. Once you hash something the original information is lost. Therefore you cannot use a hash to authenticate to something which is expecting you to send the password (as in binding to an LDAP server). Spring Security (or anything else on the client side) has no way of obtaining the password from the hash.
If you want to hide configuration data in files, then you need to use *reversible* encryption (with a key). See this blog article for a description of Jasypt's support.
http://blog.jayway.com/2008/12/09/en...s-with-jasypt/




