Class AdminNotificationForgotPasswordEventListener

java.lang.Object
org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent>
org.broadleafcommerce.admin.event.AdminNotificationForgotPasswordEventListener
All Implemented Interfaces:
EventListener, org.broadleafcommerce.common.event.BroadleafApplicationListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent>, org.springframework.context.ApplicationListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent>

@Component("blAdminNotificationForgotPasswordEventListener") public class AdminNotificationForgotPasswordEventListener extends org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent>
Author:
Nick Crum ncrum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected org.broadleafcommerce.openadmin.server.security.dao.AdminUserDao
     
    protected final org.apache.commons.logging.Log
     
    protected org.broadleafcommerce.common.notification.service.NotificationDispatcher
     
    protected static final String
     
    protected static final String
     

    Fields inherited from class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener

    currencyService, localeService, siteService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,Object>
    createContext(org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent event, org.broadleafcommerce.openadmin.server.security.domain.AdminUser adminUser)
     
    protected void
    handleApplicationEvent(org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent event)
     
    boolean
     

    Methods inherited from class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener

    getCatalog, getCurrency, getLocale, getProfile, getSite, getTimeZone, onApplicationEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.ApplicationListener

    supportsAsyncExecution
  • Field Details

    • TOKEN_CONTEXT_KEY

      protected static final String TOKEN_CONTEXT_KEY
      See Also:
    • RESET_PASSWORD_URL_CONTEXT_KEY

      protected static final String RESET_PASSWORD_URL_CONTEXT_KEY
      See Also:
    • ADMIN_USER_CONTEXT_KEY

      protected static final String ADMIN_USER_CONTEXT_KEY
      See Also:
    • LOG

      protected final org.apache.commons.logging.Log LOG
    • adminUserDao

      @Autowired @Qualifier("blAdminUserDao") protected org.broadleafcommerce.openadmin.server.security.dao.AdminUserDao adminUserDao
    • notificationDispatcher

      @Autowired @Qualifier("blNotificationDispatcher") protected org.broadleafcommerce.common.notification.service.NotificationDispatcher notificationDispatcher
  • Constructor Details

    • AdminNotificationForgotPasswordEventListener

      public AdminNotificationForgotPasswordEventListener()
  • Method Details

    • handleApplicationEvent

      protected void handleApplicationEvent(org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent event)
      Specified by:
      handleApplicationEvent in class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent>
    • createContext

      protected Map<String,Object> createContext(org.broadleafcommerce.openadmin.server.security.event.AdminForgotPasswordEvent event, org.broadleafcommerce.openadmin.server.security.domain.AdminUser adminUser)
    • isAsynchronous

      public boolean isAsynchronous()