jar - hibernate.cfg

jar-, . , hibernate.cfg , DB.

? - , .

+1




2


; -, - , , , . , , , . , .



http://www.jasypt.org/

0




Jasypt: Java API , API.

Hibernate.cfg.



<property name="hibernate.connection.provider_class">org.jasypt.hibernate3.connectionprovider.EncryptedPasswordC3P0ConnectionProvider</property>
<property name="connection.encryptor_registered_name">standardPBEStringEncryptor</property> <property name="connection.password">ENC(QVvFsdfefwewEz3i+0EwsxWenjtrjtrjweftUYpMs)</property>


You need to use this API to encrypt your password and provide that password in the hibernation configuration.

0


source







All Articles