BAEL-1635: Spring Boot CLI (#3886)
* BAEL-1635: Spring Boot CLI * Modified packages for consistent naming
This commit is contained in:
committed by
KevinGilmore
parent
6549e41afa
commit
323f5bf370
12
spring-boot-cli/groovy/security/Security.groovy
Normal file
12
spring-boot-cli/groovy/security/Security.groovy
Normal file
@@ -0,0 +1,12 @@
|
||||
package bael.security
|
||||
|
||||
@Grab("spring-boot-starter-security")
|
||||
|
||||
@RestController
|
||||
class SampleController {
|
||||
|
||||
@RequestMapping("/")
|
||||
public def example() {
|
||||
[message: "Hello World!"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user