How can I change the encryption algorithm used by the SecureIdentityLoginModule in JBoss?
Issue
- Is there a way to change the encryption algorithm that is used in org.jboss.resource.security.SecureIdentityLoginModule?
- How to force encryption with variable-length key greater than 128 bits and use ecryption cipher other than Blowfish?
- Currently, our applications create database connection pool using datasource subsystem in JBoss EAP. The username and encrypted password are defined in security-domain. JBoss implements Blowfish algorithm for encrypting and decrypting password which is defined in security-domain. The secret key is "jaas is the way" by default. How could we change the default secret key in JBoss so that we can encrypt the database password with a different key, and JBoss can still decrypt it?
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.