How can I have a database connection use the user and password from the logged in user ?
Issue
- We want connections to the database done with the username and password for the currently logged in user.
- How to assign the id of the user logged in my application to an oracle (for instance) database connection?
Environment
- JBoss Enterprise Application Platform (EAP) 5, 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.