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 Details

    • AnonymousUserProvider

      public AnonymousUserProvider()
  • Method Details

    • 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.