【发布时间】:2015-09-21 01:16:03
【问题描述】:
如何加密 context.xml 文件中的明文密码?
我已经尝试使用摘要,如下所述:https://serverfault.com/questions/295628/how-do-i-use-non-plaintext-passwords-for-tomcat-users,但我的 portlet 最终会出现“BeanLocator is null for servlet context”错误。
也尝试过创建这个: How to avoid storing passwords in the clear for tomcat's server.xml Resource definition of a DataSource? 但它无法加载我的类文件(NoClassDefFound 异常)
或者上述方法是否有效,我只是在实现它时遇到了一些问题?
【问题讨论】:
标签: tomcat encryption liferay-6