Passing Log-in credentials by system property substitution to security domains created in "login-config.xml", while creating database connections for datasources

Solution Verified - Updated -

Issue

  • How to use different "Security domains" and "login-modules" in "login-config.xml" file for providing credentials while creating database connections for datasources? How to encrypt a datasource password and implementing in "login-config.xml" for creating database connections for datasources?
  • How to pass Log-in credentials by system property substitution to security domains created in "login-config.xml", while creating database connections for datasources?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.0

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.