Encrypting/Hashing clear text passwords in Java Bean
Kim, Allan
jak009 at ucsd.edu
Mon Jan 25 17:20:21 UTC 2021
Look into Jasypt and jasypt-spring:
http://www.jasypt.org/spring31.html
(Yes, ironic that the site runs on plain http.)
From: users <users-bounces at shibboleth.net> On Behalf Of Ullfig, Roberto Alfredo
Sent: Monday, January 25, 2021 9:08 AM
To: users at shibboleth.net
Subject: Encrypting/Hashing clear text passwords in Java Bean
We have a password in clear text in this bean:
<bean id="MySQLDataSource" class="org.apache.commons.dbcp2.BasicDataSource"
p:driverClassName="com.mysql.jdbc.Driver"
...
How would we go about replacing the clear text version with a hashed or encrypted string? Thanks!
---
Roberto Ullfig - rullfig at uic.edu<mailto:rullfig at uic.edu>
Systems Administrator
Enterprise Applications & Services | Technology Solutions
University of Illinois - Chicago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20210125/6738e792/attachment.htm>
More information about the users
mailing list