Package com.avoka.fc.core.util
Class AnonymousUserProvider
java.lang.Object
com.avoka.fc.core.util.AnonymousUserProvider
Provides information around the anonymous user.
- Since:
- 21.11.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the names of all permissions associated with Anonymous user.static void
Invalidate the permissions cache.
-
Constructor Details
-
AnonymousUserProvider
public AnonymousUserProvider()
-
-
Method Details
-
getPermissionSet
Return the names of all permissions associated with Anonymous user. If permissions not available in cache, then lookup in UserAccount- Returns:
- the set of permission names, or an empty set if no permissions were set
-
invalidateCache
public static void invalidateCache()Invalidate the permissions cache.
-