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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content