Class DefaultPunchOutUserAuthenticationStrategy

java.lang.Object
de.hybris.platform.b2b.punchout.security.impl.DefaultPunchOutUserAuthenticationStrategy
All Implemented Interfaces:
PunchOutUserAuthenticationStrategy

public class DefaultPunchOutUserAuthenticationStrategy extends Object implements PunchOutUserAuthenticationStrategy
  • Constructor Details

    • DefaultPunchOutUserAuthenticationStrategy

      public DefaultPunchOutUserAuthenticationStrategy()
  • Method Details

    • authenticate

      public void authenticate(String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Description copied from interface: PunchOutUserAuthenticationStrategy
      Authenticates a user into the system.
      Specified by:
      authenticate in interface PunchOutUserAuthenticationStrategy
      Parameters:
      userId - the userId
      request - the HTTP request
      response - the HTTP response
    • logout

      public void logout()
      Description copied from interface: PunchOutUserAuthenticationStrategy
      Logs out a user from the system.
      Specified by:
      logout in interface PunchOutUserAuthenticationStrategy
    • getAuthenticationProvider

      protected org.springframework.security.authentication.AuthenticationProvider getAuthenticationProvider()
    • setAuthenticationProvider

      public void setAuthenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider)
    • getAuthenticationSuccessHandlers

      protected List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> getAuthenticationSuccessHandlers()
    • setAuthenticationSuccessHandlers

      public void setAuthenticationSuccessHandlers(List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> authenticationSuccessHandlers)