Class AbstractChannelSubscriber

    • Constructor Detail

      • AbstractChannelSubscriber

        public AbstractChannelSubscriber()
    • Method Detail

      • getChannelName

        public abstract String getChannelName()
        Get the name of the channel on which the subscriber will listen.
        Returns:
        The channel name.
      • getAuthentication

        @Deprecated
        public Authentication getAuthentication()
        Deprecated.
        Get the Authentication used for listening for events on the channel.

        Override to restrict. Default is ACL.SYSTEM.

        Returns:
        The Authentication used for listening for events on the channel.
      • getAuthentication2

        public org.springframework.security.core.Authentication getAuthentication2()
        Get the Authentication used for listening for events on the channel.

        Override to restrict. Default is ACL.SYSTEM2.

        Returns:
        The Authentication used for listening for events on the channel.
      • getEventFilter

        public EventFilter getEventFilter()
        Get the event filter to be used for messages on the channel.

        Override this method to define an EventFilter instance. Default is null i.e. no filtering.

        Returns:
        The EventFilter instance.