Hi Vince, you still need do define and register a StringEncryptor service.
Try something like that: (doc: http://www.jasypt.org) <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <bean id="stringEncryptor" class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor"> <property name="config"> <bean class="org.jasypt.encryption.pbe.config.EnvironmentStringPBEConfig"> <property name="algorithm" value="PBEWithMD5AndDES"/> <property name="passwordEnvName" value="ENCRYPTION_PASSWORD"/> </bean> </property> </bean> <service ref="stringEncryptor" interface="org.jasypt.encryption.StringEncryptor"/> </blueprint> Regards Benjamin Am 03.10.2016 um 21:29 schrieb Vince Iglehart: > JB, > That helps, but I'm having trouble connecting the pieces. I ran the > following command in Karaf: > > feature:install jasypt-encription > > > Now I go into the etc/org.ops4j.datasource-mydatasource.cfg . I > understand that I should change the password property as follows: > > password=ENC(encryptedvaluehere) > > Is my understanding correct? How do I get the encrypted value to enter in > the file? > > Please advise > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-Datasource-Passwords-tp4048219p4048225.html > Sent from the Karaf - User mailing list archive at Nabble.com.
signature.asc
Description: OpenPGP digital signature
