我需要将数据库密码封装在glassfish JDBCConnectionPool中。
我在glassfish文档中发现如何封装用户管理员密码。
有没有人有一个封装数据库密码的例子?
I need to encapsulate the database passwords inside the glassfish JDBCConnectionPool.
I found in glassfish documentation how to encapsulate user admin password.
Would anyone have an example of the encapsulation of database passwords?
最满意答案
浏览http:// localhost:4848
点击 - >域 - >密码别名 - >新建
在密码字段中添加连接池密码并单击确定。
4. 创建一个连接池。创建连接池时填写密码文件如下。
示例:
$ {ALIAS = [your_password_alias_name]}
$ {ALIAS = test_pwd_alias}
browse http://localhost:4848
Click --> domains --> Password Aliases --> New
Add your connection pool password in password field and Click OK.
4.Create a connection pool.When creating connection pool fill the password filed as below.
Example :
${ALIAS=[your_password_alias_name]}
${ALIAS=test_pwd_alias}
更多推荐
发布评论