I created an intermediary Observable class that registers the Realm (which
implements the Oberserver interface) on startup. When a Controller action
that would modify permissions gets called, I invalidate the Observable which
notifies the Realm, which clears the cache.

I don't feel like it's enough indirection, but it works well.

Thanks!



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Updating-permissions-dynamically-at-runtime-tp7578886p7578888.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to