Interface CachedMembershipReader
public interface CachedMembershipReader
Interface for reading the membership information of a given authorizable and store the result in a cache.
-
Method Summary
Modifier and TypeMethodDescriptionreadMembership
(@NotNull Tree authorizableTree, CacheLoader cacheLoader) Read the membership information of the authorizable and store the result in a cache using the provided cacheLoader.
-
Method Details
-
readMembership
Read the membership information of the authorizable and store the result in a cache using the provided cacheLoader.- Parameters:
authorizableTree
- The authorizable tree for which the membership information should be read.cacheLoader
- The cacheLoader to provide the set of principals to store in the cache.- Returns:
- The set of principals that are members of the authorizable.
-