Reputation: 6678
I have been looking around for a way to achieve this and I have not found any authoritative answer making me wonder if this has stopped being the practice when running application on a cluster of 2 or more servers.
I have grails 3.2.2 app that will run on aws. I am using simple form using default spring security plugin compile 'org.grails.plugins:spring-security-core:3.1.1'
I would love to be able to store session in redis for load balancing purpose. Using elastic cache service (redis) on aws.
I would also love to use the same in replacement of ehcache.
So far for session I got
For caching I got
Looks like I am really lost on this. Don't know which one to one or which one to use together. I would be very much grateful if someone can point me to the right direction. Any recent documentation or tutorial is welcome.
Best Regards,
Upvotes: 1
Views: 838
Reputation: 1446
You do not need to install any other plugin but only spring-session with spring security.
this link is exactly what you looking for http://docs.spring.io/spring-session/docs/current/reference/html5/guides/grails3.html
(As you may know, grails3 is implemented based on springboot, so you can refer the springboot document to solve grails3 problem.)
Upvotes: 1