|
@@ -114,11 +114,13 @@ class AuthorizeRequestsDslTests {
|
|
@RestController
|
|
@RestController
|
|
internal class PathController {
|
|
internal class PathController {
|
|
@RequestMapping("/path")
|
|
@RequestMapping("/path")
|
|
- fun path() {
|
|
|
|
|
|
+ fun path(): String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping("/onlyPostPermitted")
|
|
@RequestMapping("/onlyPostPermitted")
|
|
- fun onlyPostPermitted() {
|
|
|
|
|
|
+ fun onlyPostPermitted(): String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -171,7 +173,8 @@ class AuthorizeRequestsDslTests {
|
|
@RestController
|
|
@RestController
|
|
internal class PathController {
|
|
internal class PathController {
|
|
@RequestMapping("/path")
|
|
@RequestMapping("/path")
|
|
- fun path() {
|
|
|
|
|
|
+ fun path(): String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -327,7 +330,8 @@ class AuthorizeRequestsDslTests {
|
|
@RestController
|
|
@RestController
|
|
internal class PathController {
|
|
internal class PathController {
|
|
@GetMapping("/")
|
|
@GetMapping("/")
|
|
- fun index() {
|
|
|
|
|
|
+ fun index():String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -398,7 +402,8 @@ class AuthorizeRequestsDslTests {
|
|
@RestController
|
|
@RestController
|
|
internal class PathController {
|
|
internal class PathController {
|
|
@GetMapping("/")
|
|
@GetMapping("/")
|
|
- fun index() {
|
|
|
|
|
|
+ fun index():String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -461,7 +466,8 @@ class AuthorizeRequestsDslTests {
|
|
@RestController
|
|
@RestController
|
|
internal class PathController {
|
|
internal class PathController {
|
|
@RequestMapping("/path")
|
|
@RequestMapping("/path")
|
|
- fun path() {
|
|
|
|
|
|
+ fun path():String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -484,7 +490,8 @@ class AuthorizeRequestsDslTests {
|
|
@RestController
|
|
@RestController
|
|
internal class PathController {
|
|
internal class PathController {
|
|
@RequestMapping("/path")
|
|
@RequestMapping("/path")
|
|
- fun path() {
|
|
|
|
|
|
+ fun path(): String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -522,7 +529,8 @@ class AuthorizeRequestsDslTests {
|
|
@RestController
|
|
@RestController
|
|
internal class PathController {
|
|
internal class PathController {
|
|
@RequestMapping("/path")
|
|
@RequestMapping("/path")
|
|
- fun path() {
|
|
|
|
|
|
+ fun path(): String {
|
|
|
|
+ return "ok"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|