bdemers commented on a change in pull request #82:
URL: https://github.com/apache/shiro-site/pull/82#discussion_r634410258
##########
File path: configuration.md.vtl
##########
@@ -342,6 +343,26 @@ anObject.map = $objectKey1:$objectValue1,
$objectKey2:$objectValue2
...
```
+<a name="Configuration-VariableInterpolation"></a>
+#[[######Variable Interpolation]]#
+
+You can use variable interpolation when defining values. Supported types are
environment variables, system properties and constants.
+
+For constants, use `${const:CONSTANT_NAME}`, for environment variables and
system properties, use `${ENV_VARIABLE_NAME}` or ${`PROPERTY`}.
+
+System properties and environment variables are lookup up in that order.
+
+Default values are supported in the form
`${const:CONSTANT_NAME:-default_value`}, or `${VARIABLE_NAME:-default_value}`,
as in:
Review comment:
```suggestion
Default values are supported in the form
`${const:com.example.YourClass.CONSTANT_NAME:-default_value`}, or
`${VARIABLE_NAME:-default_value}`, as in:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]