Closed
Description
Bjorn Harvold opened SPR-13952 and commented
I would like to be able to control the name of my auth token per environment. Ergo, I would like to be able to do something like this:
@RequestHeader(value = "${env.auth.token}", required = true)
Currently, this only works with a constant string.
Affects: 4.2.4
Issue Links:
- Support SpEL next to placeholders in annotation attributes (e.g. @Scheduled) [SPR-13625] #18203 Support SpEL next to placeholders in annotation attributes (e.g.
@Scheduled
) - Placeholder resolution for annotation attributes is not active by default [SPR-14140] #18712 Placeholder resolution for annotation attributes is not active by default
Referenced from: commits e0d7c6b