Reputation: 33
I am new to Grails, and I would like to use requestMap for the security portion. However, if I update the rules in database, the new rules will not take effect till I restart the web application.
Does anyone has the same issue? or am I missing something?
Upvotes: 0
Views: 305
Reputation: 1733
the request map is cached and you have to clear it after updating the database using springSecurityService.clearCachedRequestmaps()
. This is shown in the plugins documentation in the requestmap cache section.
Upvotes: 1