How to encrypt the database password in datasource using SecureIdentityLoginModule in JBoss

Solution Verified - Updated -

Issue

  • How do I change the clear-text database password to encrypted one in datasource deploy/*-ds.xml?
  • How to encrypt the passwords in the configuration files such as datasource passwords?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
  • Red Hat JBoss Service Oriented Architecture (SOA)
    • 4.x
    • 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