Closed dinbtechit closed 4 years ago
I had to make some code changes to pass in the password
and enable SSL
. If you are accessing the Redis instance in Azure or AWS, password is mandatory and obviously you will need SSL enabled as well.
Modified following File to get it working:
Added the following configuration parameters:
JAVA_OPTS:
-Dcom.amadeus.session.redis.password=password
-Dcom.amadeus.session.redis.ssl=true | false
or if you're using context param in web.xml
<context-param>
<param-name>com.amadeus.session.redis.password</param-name>
<param-value>========PASSWORD========</param-value>
</context-param>
<context-param>
<param-name>com.amadeus.session.redis.ssl</param-name>
<param-value>true</param-value>
</context-param>
I would more than happy to make that change for you. But let me know if you want me to submit a PR for this.
Hi @dinbtechit,
Yes, please do submit a PR. It's great idea.
Nenad
Submitted Pull request. https://github.com/AmadeusITGroup/HttpSessionReplacer/pull/54
First of all want to appreciate your great work! hats off!
Question... We are using a cloud-based Redis instance, is there a way to supply a password?