Spring Boot encrypt properties with Jasypt

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 7

  • @oweisyahya5485
    @oweisyahya5485 ปีที่แล้ว +2

    Keep going man, love how your videos are straight forward use cases, here is the problem, here is how we solve it 😊

  • @kostasnrs4206
    @kostasnrs4206 4 หลายเดือนก่อน

    what if the password to be encrypted contains a right parenthesis in the middle of the string? it seems to confuse it as the end of the password.

  • @weixiangng8279
    @weixiangng8279 ปีที่แล้ว +1

    Nice tutorial, but if want to deploy to tomcat how to set the encryptor to run with tomcat during deployment?

  • @Viki-v4p
    @Viki-v4p 9 หลายเดือนก่อน +1

    Good one bro.

  • @GermainSanchezMatus
    @GermainSanchezMatus ปีที่แล้ว

    Nice, just the problem is that the password to decrypt is clear on de properties file

    • @cesankle4058
      @cesankle4058 ปีที่แล้ว

      Yeah I was thinking the same, how can I pass the password from outside the app? I can't find a definitive answer to this

    • @ekatamailhamprayoga7317
      @ekatamailhamprayoga7317 10 หลายเดือนก่อน

      you can remove the encryption code later after encrypting or decrypting. Or only include the code on the encryption command like this:
      mvn jasypt:encrypt -D jasypt.encryptor.password=yourcodehere