Package com.avoka.fc.core.util
Class AnonymousUserProvider
- java.lang.Object
-
- com.avoka.fc.core.util.AnonymousUserProvider
-
public class AnonymousUserProvider extends Object
Provides information around the anonymous user.- Since:
- 21.11.0
-
-
Constructor Summary
Constructors Constructor Description AnonymousUserProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>
getPermissionSet()
Return the names of all permissions associated with Anonymous user.static void
invalidateCache()
Invalidate the permissions cache.
-
-
-
Method Detail
-
getPermissionSet
public static Set<String> 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.
-
-