Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions src/main/java/io/security/corespringsecurity/config/AppConfig.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
package io.security.corespringsecurity.controller;


import io.security.corespringsecurity.security.authentication.services.UserDetailsServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {

@Autowired
private UserDetailsServiceImpl userDetailsService;

@GetMapping(value="/")
public String home() throws Exception {
return "home";
}

@GetMapping(value="/login")
public String login() throws Exception {
return "login";
}

}
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package io.security.corespringsecurity.controller.admin;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class AdminController {
public class ConfigController {

@GetMapping(value="/admin")
public String home() throws Exception {
return "admin/home";
@GetMapping("/config")
public String config(){
return "admin/config";
}

}

This file was deleted.

Loading