Class PunchOutAuthenticationSuccessHandler
- java.lang.Object
-
- de.hybris.platform.b2bpunchoutaddon.security.impl.PunchOutAuthenticationSuccessHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class PunchOutAuthenticationSuccessHandler extends java.lang.Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandlerAuthentication handler invoked after a successful authentication of a Punch Out user.
-
-
Constructor Summary
Constructors Constructor Description PunchOutAuthenticationSuccessHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerFacadegetCustomerFacade()org.springframework.security.web.RedirectStrategygetRedirectStrategy()java.lang.StringgetTargetUrl()voidonAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)voidsetCustomerFacade(CustomerFacade customerFacade)voidsetRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)voidsetTargetUrl(java.lang.String targetUrl)
-
-
-
Method Detail
-
onAuthenticationSuccess
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws java.io.IOException, javax.servlet.ServletException- Specified by:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
getRedirectStrategy
public org.springframework.security.web.RedirectStrategy getRedirectStrategy()
-
setRedirectStrategy
public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
-
getCustomerFacade
public CustomerFacade getCustomerFacade()
-
setCustomerFacade
public void setCustomerFacade(CustomerFacade customerFacade)
-
getTargetUrl
public java.lang.String getTargetUrl()
-
setTargetUrl
public void setTargetUrl(java.lang.String targetUrl)
-
-