Class DefaultUserLoginService

java.lang.Object
com.broadleafcommerce.auth.security.service.DefaultUserLoginService
All Implemented Interfaces:
UserLoginService

public class DefaultUserLoginService extends Object implements UserLoginService
  • Constructor Details

  • Method Details

    • loginUser

      public void loginUser(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String clientId, String username, String password)
      Description copied from interface: UserLoginService
      Login a user outside of the filter chain
      Specified by:
      loginUser in interface UserLoginService
      Parameters:
      request - The HttpServletRequest that prompted the login request
      response - The HttpServletResponse for the given HttpServletRequest
      clientId - The client id that the user belongs to
      username - The user's username
      password - The user's unencoded password
    • autoLoginInternal

      protected void autoLoginInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String clientId, String username, String password)
    • getUserDetailsService

      protected OAuth2UserDetailsService getUserDetailsService()
    • getSessionUtil

      protected StatelessUtil getSessionUtil()