Class CachingSecurityManager

    • Constructor Detail

      • CachingSecurityManager

        public CachingSecurityManager()
        Default no-arg constructor that will automatically attempt to initialize a default cacheManager
    • Method Detail

      • getCacheManager

        public CacheManager getCacheManager()
        Returns the CacheManager used by this SecurityManager.
        Returns:
        the cacheManager used by this SecurityManager
      • setCacheManager

        public void setCacheManager​(CacheManager cacheManager)
        Sets the CacheManager used by this SecurityManager and potentially any of its children components.

        After the cacheManager attribute has been set, the template method afterCacheManagerSet() is executed to allow subclasses to adjust when a cacheManager is available.

        Specified by:
        setCacheManager in interface CacheManagerAware
        Parameters:
        cacheManager - the CacheManager used by this SecurityManager and potentially any of its children components.
      • getEventBus

        public EventBus getEventBus()
        Returns the EventBus used by this SecurityManager and potentially any of its children components.
        Returns:
        the EventBus used by this SecurityManager and potentially any of its children components.
        Since:
        1.3
      • setEventBus

        public void setEventBus​(EventBus eventBus)
        Sets the EventBus used by this SecurityManager and potentially any of its children components.

        After the eventBus attribute has been set, the template method afterEventBusSet() is executed to allow subclasses to adjust when a eventBus is available.

        Specified by:
        setEventBus in interface EventBusAware
        Parameters:
        eventBus - the EventBus used by this SecurityManager and potentially any of its children components.
        Since:
        1.3
      • afterEventBusSet

        protected void afterEventBusSet()
        Template callback to notify subclasses that an EventBus has been set and is available for use via the getEventBus() method.
        Since:
        1.3