grails-spring-security-rest プラグインのランタイム構成をロードするために application.yml ファイルを使用しています。
grails:
profile: angularjs
codegen:
defaultPackage: telja
spring:
transactionManagement:
proxies: false
gorm:
reactor:
# Whether to translate GORM events into Reactor events
# Disabled by default for performance reasons
events: false
plugin.springsecurity:
conf:
rest.token.storage.jwt.secret : 'xxxxxxxxxxxxxxxxxxxxxx'
ただし、起動時にこのメッセージが表示されます
Spring Security REST 2.0.0.RC1 の構成... 2018-07-13 15:04:58.202 ERROR --- [main] osboot.SpringApplication : アプリケーションの起動に失敗しました
java.lang.Exception: JWT シークレットを定義する必要があります。config プロパティの値を指定してください: grails.plugin.springsecurity.conf.rest.token.storage.jwt.secret