加密JBoss配置中的敏感信息 [英] Encrypting sensitive information in JBoss configuration
问题描述
JBoss中的标准数据源配置要求数据库用户的用户名和密码位于xxx-ds.xml文件中。如果我将我的数据源定义为c3p0 mbean,我会遇到同样的问题。
The standard data source configuration in JBoss requires the username and password of the database user to be in the xxx-ds.xml file. If I define my data source as a c3p0 mbean I encounter the same issue.
是否有标准的方法来加密用户和密码?保存密钥的好地方是什么?
Is there a standard way to have the user and password encrypted? What is a good place to save the key?
这当然与tomcat相关 - context.xml文件,spring配置文件等。
This of course relevant to tomcat too - context.xml files, spring configuration files, etc.
推荐答案
有一个维基文档: http://www.jboss.org/community/docs/DOC-9703 描述了这一点。
There is a wiki document out there: http://www.jboss.org/community/docs/DOC-9703 that describes this.
这篇关于加密JBoss配置中的敏感信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!