org.jasypt.exceptions.EncryptionOperationNotPossibleException

前端 未结 5 1668
无人共我
无人共我 2021-02-05 18:26

I am using Jasypt-1.9.0 with Spring 3.1 and Hibernate 4.0.1. I have a requirement in my application to connect to database who

5条回答
  •  [愿得一人]
    2021-02-05 18:56

    The question is most probably out of date, but for future seekers... EncryptionOperationNotPossibleException is a general exception thrown by jasypt to mask other possible exceptions. This exception can occur when:

    • your jdk does not have the JCE unlimited strenght installed (most common case)
    • you had some data in the database that was encrypted before with other password
    • you had some data in database that were not encrypted before and you added encryption to some field
    • jasypt failed to decrypt the encrypted value from db because of some strange corruption of data
    • many many others, you just need to debug to find out the real cause..

提交回复
热议问题