Class ResetConfigurationAuthenticationSuccessHandler
- java.lang.Object
-
- org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
-
- org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
-
- org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
-
- com.hybris.cockpitng.util.web.authorization.BackofficeAuthenticationSuccessHandler
-
- com.hybris.cockpitng.util.web.authorization.ResetConfigurationAuthenticationSuccessHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class ResetConfigurationAuthenticationSuccessHandler extends BackofficeAuthenticationSuccessHandler
Strategy that resets cockpit-config.xml and widgets.xml.
-
-
Field Summary
-
Fields inherited from class com.hybris.cockpitng.util.web.authorization.BackofficeAuthenticationSuccessHandler
BO_LOGIN_BOOKMARK
-
-
Constructor Summary
Constructors Constructor Description ResetConfigurationAuthenticationSuccessHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)voidresetCockpitConfigXml()voidresetIfConfigured()protected voidresetIfConfigured(java.lang.String trigger)voidresetWidgetsXml()voidsetCockpitConfigurationService(CockpitConfigurationService cockpitConfigurationService)voidsetResetStrategy(ResetConfigurationStrategy resetStrategy)voidsetWidgetPersistenceService(WidgetPersistenceService widgetPersistenceService)-
Methods inherited from class com.hybris.cockpitng.util.web.authorization.BackofficeAuthenticationSuccessHandler
clearLoginHandlerCredentials, determineTargetUrl, getCockpitLocaleService, getCockpitUserService, getDetails, getLoginInfoSessionBeanName, getSessionLoginInfoModel, setCockpitLocaleService, setCockpitUserService, setLoginInfoSessionBeanName
-
Methods inherited from class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
setRequestCache
-
Methods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
clearAuthenticationAttributes
-
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
-
-
-
-
Method Detail
-
setCockpitConfigurationService
public void setCockpitConfigurationService(CockpitConfigurationService cockpitConfigurationService)
-
setWidgetPersistenceService
public void setWidgetPersistenceService(WidgetPersistenceService widgetPersistenceService)
-
setResetStrategy
public void setResetStrategy(ResetConfigurationStrategy resetStrategy)
-
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:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Overrides:
onAuthenticationSuccessin classBackofficeAuthenticationSuccessHandler- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
resetCockpitConfigXml
public void resetCockpitConfigXml()
-
resetWidgetsXml
public void resetWidgetsXml()
-
-