Chapter 9. Application Security
9.1. Datasource Security Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
9.1.1. About Datasource Security Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Datasource security refers to encrypting or obscuring passwords for datasource connections. These passwords can be stored in plain text in configuration files, however this represents a security risk.
The preferred solution for datasource security is the use of either security domains or password vaults. Examples of each are included below. For more information, refer to the Security Architecture and other JBoss EAP security documentation.
Example 9.1. Security Domain Example
The DsRealm domain is referenced by a datasource like so:
Example 9.2. Password Vault Example