|
|
@ -29,16 +29,10 @@ public class LoginController { |
|
|
|
|
|
|
|
|
|
|
|
private static final Logger LOG = Logger.getLogger(LoginController.class); |
|
|
|
private static final Logger LOG = Logger.getLogger(LoginController.class); |
|
|
|
|
|
|
|
|
|
|
|
private final SecurityService securityService; |
|
|
|
|
|
|
|
private final SettingsService settingsService; |
|
|
|
|
|
|
|
private final PlaylistService playlistService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
public LoginController(SecurityService securityService, SettingsService settingsService, PlaylistService playlistService) { |
|
|
|
private final SecurityService securityService = null; |
|
|
|
this.securityService = securityService; |
|
|
|
@Autowired |
|
|
|
this.settingsService = settingsService; |
|
|
|
private final SettingsService settingsService = null; |
|
|
|
this.playlistService = playlistService; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(method = { RequestMethod.GET, RequestMethod.POST }) |
|
|
|
@RequestMapping(method = { RequestMethod.GET, RequestMethod.POST }) |
|
|
|
public ModelAndView login(HttpServletRequest request, HttpServletResponse response) throws Exception { |
|
|
|
public ModelAndView login(HttpServletRequest request, HttpServletResponse response) throws Exception { |
|
|
|