@Singleton public class UrlWhitelistNotificationService extends Object
| Constructor and Description |
|---|
UrlWhitelistNotificationService(NotificationService notificationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
publishWhitelistFailure(String description)
Publish a system notification indicating that there was an attempt to access a URL which is not whitelisted.
|
@Inject public UrlWhitelistNotificationService(NotificationService notificationService)
public void publishWhitelistFailure(String description)
This method is synchronized to reduce the chance of emitting multiple notifications at the same time
description - The description of the notification.Copyright © 2012–2021 Graylog, Inc.. All rights reserved.