Class ResetConfigurationAuthenticationSuccessHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationSuccessHandler

    public class ResetConfigurationAuthenticationSuccessHandler
    extends BackofficeAuthenticationSuccessHandler
    Strategy that resets cockpit-config.xml and widgets.xml.
    • Constructor Detail

      • ResetConfigurationAuthenticationSuccessHandler

        public ResetConfigurationAuthenticationSuccessHandler()
    • Method Detail

      • setCockpitConfigurationService

        public void setCockpitConfigurationService​(CockpitConfigurationService cockpitConfigurationService)
      • setWidgetPersistenceService

        public void setWidgetPersistenceService​(WidgetPersistenceService widgetPersistenceService)
      • resetIfConfigured

        protected void resetIfConfigured​(java.lang.String trigger)
      • resetIfConfigured

        @PostConstruct
        public void resetIfConfigured()
      • onAuthenticationSuccess

        public void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.Authentication authentication)
                                     throws javax.servlet.ServletException,
                                            java.io.IOException
        Specified by:
        onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
        Overrides:
        onAuthenticationSuccess in class BackofficeAuthenticationSuccessHandler
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • resetCockpitConfigXml

        public void resetCockpitConfigXml()
      • resetWidgetsXml

        public void resetWidgetsXml()