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 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.