Query regarding saving username and password in application cache

62 Views Asked by At

My rest based application is going to receive the encrypted username and password from an upstream application.

My application will then interact with a downstream application,the downstream application will implement some logic(takes 1 hour approx., don't know why) at their end and they will hand us over the response which we need to send back to the upstream application.

Now, is it a good idea to store the username and password in the cache for an interval of 1 hour as we don't want to persist sensitive information into the database.

0

There are 0 best solutions below