@Override
    public boolean notify(final Principal principal, final Map<String, String> messageData) {
        return notificationSenders
            .stream()
            .anyMatch(sender -> {
                if (sender.canSend()) {
                    sender.notify(principal, messageData);
                    return true;
                }
                return false;
            });
    }
This is {@link DefaultNotificationSender}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-notifications-api/src/main/java/org/apereo/cas/notifications/push/DefaultNotificationSender.java