Jackrabbit 中的密码加密
我目前正在建立一个 Liferay 门户实例。 Liferay 使用 Jackrabbit 作为其文档存储库管理系统。要配置 Jackrabbit,我必须将数据库访问 URL、用户名和密码放入repository.xml 文件中。然而,我必须通过的一项认证检查是不能将密码存储在纯文本文件中。所以我的问题是如何加密 Jackrabbit repository.xml 文件中的密码字段。谢谢。
I am currently standing up a Liferay portal instance. Liferay uses Jackrabbit as its document repository management system. To configure Jackrabbit, I had to put in my database access URL, user name, and password into the repository.xml file. However, one certification check I have to pass is that there cannot be passwords stored in plain text files. So my question is how do I encrypt the password field in my Jackrabbit repository.xml file. Thanks.
也许使用 JNDI 可以解决问题: http://wiki.apache.org/jackrabbit/UsingJNDIDataSource
Maybe using JNDI solves the problem: http://wiki.apache.org/jackrabbit/UsingJNDIDataSource