How to use encrypted passwords in EAP6 datasources with SecureIdentityLoginModule
Issue
-
How to use an encrypted password in EAP 6 Datasource configuration
-
Is there any method to encrypt datasource password without using Vault on windows ?
-
How to specify security-domain if the profile is configured with 2 different datasource, each with different username and password
-
How to create a datasource with an encrypted password
-
When encrypting datasource password with security-domain having
"login-module code="SecureIdentityLogin", the configuration fails with the following exception:
Caused by: java.sql.SQLException: Access denied for user ''@'10.10.10.10' (using password: NO)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:927)
...
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)
at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:254)
... 5 more
- How to get encrypted passwords in the JBoss 6 EAP edition.
- Is there any way in addition to the vault to encrypt the passwords (like db connection details) in the standalone.xml file?
- Password Vault Vs Security Domain ? Currently the passwords are encrypted datasources in Security Domains with code
org.picketbox.datasource.security.SecureIdentityLoginModule. Which system is better, Security Domains or Password Vault? Would it improve the security it changed to the Password Vault instead of Security Domain?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
