Class DefaultNotificationSender
- java.lang.Object
-
- org.apereo.cas.notifications.push.DefaultNotificationSender
-
- All Implemented Interfaces:
NotificationSender,org.springframework.core.Ordered
public class DefaultNotificationSender extends java.lang.Object implements NotificationSender
This isDefaultNotificationSender.- Since:
- 6.3.0
-
-
Constructor Summary
Constructors Constructor Description DefaultNotificationSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanSend()Whether it can send a notification.booleannotify(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
-
Methods inherited from interface org.apereo.cas.notifications.push.NotificationSender
getOrder
-
-
-
-
Method Detail
-
canSend
public boolean canSend()
Description copied from interface:NotificationSenderWhether it can send a notification.- Specified by:
canSendin interfaceNotificationSender- 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:NotificationSenderNotify.- Specified by:
notifyin interfaceNotificationSender- Parameters:
principal- the principalmessageData- the message data- Returns:
- true/false
-
-