Class BackofficeAuthenticationSuccessHandler
- 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
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
- Direct Known Subclasses:
ResetConfigurationAuthenticationSuccessHandler
public class BackofficeAuthenticationSuccessHandler extends org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBO_LOGIN_BOOKMARK
-
Constructor Summary
Constructors Constructor Description BackofficeAuthenticationSuccessHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearLoginHandlerCredentials(javax.servlet.ServletContext servletContext)protected java.lang.StringdetermineTargetUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)CockpitLocaleServicegetCockpitLocaleService()CockpitUserServicegetCockpitUserService()protected BackofficeAuthenticationDetailsgetDetails(org.springframework.security.core.Authentication authentication)java.lang.StringgetLoginInfoSessionBeanName()TypedSettingsMapgetSessionLoginInfoModel(javax.servlet.ServletContext servletContext)voidonAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)voidsetCockpitLocaleService(CockpitLocaleService cockpitLocaleService)voidsetCockpitUserService(CockpitUserService cockpitUserService)voidsetLoginInfoSessionBeanName(java.lang.String loginInfoSessionBeanName)-
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
-
-
-
-
Field Detail
-
BO_LOGIN_BOOKMARK
public static final java.lang.String BO_LOGIN_BOOKMARK
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 classorg.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
clearLoginHandlerCredentials
protected void clearLoginHandlerCredentials(javax.servlet.ServletContext servletContext)
-
getDetails
protected final BackofficeAuthenticationDetails getDetails(org.springframework.security.core.Authentication authentication)
-
determineTargetUrl
protected java.lang.String determineTargetUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)- Overrides:
determineTargetUrlin classorg.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
-
getSessionLoginInfoModel
public TypedSettingsMap getSessionLoginInfoModel(javax.servlet.ServletContext servletContext)
-
getLoginInfoSessionBeanName
public java.lang.String getLoginInfoSessionBeanName()
-
setLoginInfoSessionBeanName
public void setLoginInfoSessionBeanName(java.lang.String loginInfoSessionBeanName)
-
getCockpitUserService
public CockpitUserService getCockpitUserService()
-
setCockpitUserService
public void setCockpitUserService(CockpitUserService cockpitUserService)
-
getCockpitLocaleService
public CockpitLocaleService getCockpitLocaleService()
-
setCockpitLocaleService
public void setCockpitLocaleService(CockpitLocaleService cockpitLocaleService)
-
-