Merge pull request #7377 from amit2103/BAEL-16045-1

[BAEL-16045] - Fixed article code for https://www.baeldung.com/get-us…
This commit is contained in:
Loredana Crusoveanu
2019-10-14 21:33:04 +03:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

View File

@@ -9,12 +9,12 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
@Controller @Controller
public class SecurityController5 { public class GetUserWithCustomInterfaceController {
@Autowired @Autowired
private IAuthenticationFacade authenticationFacade; private IAuthenticationFacade authenticationFacade;
public SecurityController5() { public GetUserWithCustomInterfaceController() {
super(); super();
} }

View File

@@ -10,9 +10,9 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
@Controller @Controller
public class SecurityController4 { public class GetUserWithHTTPServletRequestController {
public SecurityController4() { public GetUserWithHTTPServletRequestController() {
super(); super();
} }

View File

@@ -8,9 +8,9 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
@Controller @Controller
public class SecurityController2 { public class SecurityController {
public SecurityController2() { public SecurityController() {
super(); super();
} }