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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user