Class PunchOutAuthenticationSuccessHandler

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

    public class PunchOutAuthenticationSuccessHandler
    extends java.lang.Object
    implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
    Authentication handler invoked after a successful authentication of a Punch Out user.
    • Constructor Detail

      • PunchOutAuthenticationSuccessHandler

        public PunchOutAuthenticationSuccessHandler()
    • 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:
        onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • getRedirectStrategy

        public org.springframework.security.web.RedirectStrategy getRedirectStrategy()
      • setRedirectStrategy

        public void setRedirectStrategy​(org.springframework.security.web.RedirectStrategy redirectStrategy)
      • setCustomerFacade

        public void setCustomerFacade​(CustomerFacade customerFacade)
      • getTargetUrl

        public java.lang.String getTargetUrl()
      • setTargetUrl

        public void setTargetUrl​(java.lang.String targetUrl)