Class DefaultNotificationSender

    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canSend()
      Whether it can send a notification.
      boolean notify​(org.apereo.cas.authentication.principal.Principal principal, java.util.Map<java.lang.String,​java.lang.String> messageData)
      Notify.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultNotificationSender

        public DefaultNotificationSender()
    • Method Detail

      • canSend

        public boolean canSend()
        Description copied from interface: NotificationSender
        Whether it can send a notification.
        Specified by:
        canSend in interface NotificationSender
        Returns:
        whether it can send an notification
      • notify

        public boolean notify​(org.apereo.cas.authentication.principal.Principal principal,
                              java.util.Map<java.lang.String,​java.lang.String> messageData)
        Description copied from interface: NotificationSender
        Notify.
        Specified by:
        notify in interface NotificationSender
        Parameters:
        principal - the principal
        messageData - the message data
        Returns:
        true/false