Hello Expert, Need help on AAM, Application developed using JAVA and hosted on apache tomcat with oracle DB.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hello Expert, Need help on AAM, Application developed using JAVA and hosted on apache tomcat with oracle DB.

L2 Linker

we have the sample code present in ASCP document for JDBC connection but not able to find how to fetch username and password using "Hibernate Method".

 

3 REPLIES 3

L6 Presenter

Where exactly you need to retrieve credentials in application?

L4 Transporter

Where exactly you need to retrieve credentials in application?

L2 Linker

Yes, in application.the flow is that when the application input the credential and click to login button. the hibernate method is get called to connect data base, the hibernate is an .XML file which fetch password from abc.properties(here password is stored in encrypted format) file.

once the password fetched from the properties file the application code will decrypt and connect to the db with decrypted password

  • 291 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!