Reputation: 21
Jhipster Authority will effect only on a system restart. How to reset authority cache when modified a specific users authorities?
Upvotes: 0
Views: 29
Reputation: 16284
Not only after a restart, cache entries are evicted based on time-to-live-seconds
property in application*.yml
configuration too.
Anyway you can clear the cache as in UserService.clearUserCaches()
whenever you want.
Upvotes: 1