Class UrlWhitelistNotificationService

java.lang.Object
org.graylog2.system.urlwhitelist.UrlWhitelistNotificationService

@Singleton public class UrlWhitelistNotificationService extends Object
  • Constructor Details

    • UrlWhitelistNotificationService

      @Inject public UrlWhitelistNotificationService(NotificationService notificationService)
  • Method Details

    • publishWhitelistFailure

      public void publishWhitelistFailure(String description)
      Publish a system notification indicating that there was an attempt to access a URL which is not whitelisted.

      This method is synchronized to reduce the chance of emitting multiple notifications at the same time

      Parameters:
      description - The description of the notification.