The spring security code is left on feature branch.
Looking at ProductAppApplication.java, in the tutorial,
@GetMapping(path = "/products")
public String getProducts(Principal principal, Model model){
model.addAttribute("principal",principal);
model.addAttribute("products", productService.getProducts());
return "products";
}
whereas in GitHub
@GetMapping(path = "/products")
public String getProducts(Model model){
model.addAttribute("products", Arrays.asList("iPad","iPhone","iPod"));
return "products";
}
So GitHub has not been updated?
The spring security code is left on feature branch.
Looking at ProductAppApplication.java, in the tutorial,
whereas in GitHub
So GitHub has not been updated?