Class AnonymousUserProvider


  • public class AnonymousUserProvider
    extends Object
    Provides information around the anonymous user.
    Since:
    21.11.0
    • Constructor Detail

      • AnonymousUserProvider

        public AnonymousUserProvider()
    • 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.