Udara Pathirage
Udara Pathirage

Reputation: 21

Jhipster Authority will effect only on a system restart

Jhipster Authority will effect only on a system restart. How to reset authority cache when modified a specific users authorities?

Upvotes: 0

Views: 29

Answers (1)

Gaël Marziou
Gaël Marziou

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

Related Questions