...
An alternative caching approach would be for the CDAP sub-components to query the cache for a privilege, and the cache to return if there is a hit, and go back to the authorization provider if there is a miss.
Pros
...
- Can have individual privilege level cache expiry, making the refresh process more streamlined
- No need for an asynchronous cache refresh thread, that refreshes all policies (resulting in asynchronous, but longer refresh process)
...