+------------------------+
Jasypt Users List
http://www.jasypt.org
+------------------------+
On Thu, Jul 2, 2009 at 12:04 PM, bubenik
<Wolf.Bubenik@...> wrote:
Finally I found my mistake.
For the decryption with the EncryptablePropertyPlaceholderConfigurer I
specified an algorithm beleving that the value given is the default value
used for encryption.
Obviously that was not the case.
Deleting the algorithm from my spring config (using real default) solved the
problem.
regards bubenik
Thank you for the informational update. It's good to know the jasypt mistakes can get understood, handled and solved.
I don't use the same configuration and had less problems than expected with a minimal configuration:
Register:
encryptedPassword = passwordEncryptor.encryptPassword(userPassword);
Check:
BasicPasswordEncryptor passwordEncryptor = new BasicPasswordEncryptor();
if (passwordEncryptor.checkPassword(password, database_stored_encryptedPassword)) {
...
Regards,
Niklas R
------------------------------------------------------------------------------
_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users