How to encrypt multiple datasource passwords on JBoss

Solution Verified - Updated -

Issue

We have a requirement to encrypt multiple passwords as applications have the requirement to authenticate to more than one datasource. The method provided generates an encrypted string that replaces the password string and SALT contained within a file server.password. Can you please advise on how we can use this configuration to authenticate with multiple accounts / encrypted passwords (as in two different datasources, each with its own account and password).

Environment

  • JBoss Enterprise Application Platform (EAP) 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.