This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I was looking to use IBatis in a web app. I would like to run my queries using the credentials of the user logged in. A google on this came up with UserCredentialsDataSourceAdapter in spring. Can you refer me to some sample code on how to configure IBatis with spring. What would you recommed to call the setCredentialsForCurrentThread method.
Do you have any other suggestions to solve this issue.
Brandon, I have this part configured rght. My problem is where do I set the user name and password on the datasouce from the user context. Do I need to set this in a servelet filter. I would personaly like to do this in my service tier. Can AOP help me out there.
Joined: Nov 08, 2006
This thread appears to provide information about what you are looking for.