@@ -206,7 +206,7 @@ sensible overriding of values, properties are considered in the the following or
206
206
. Java System properties (`System.getProperties()`).
207
207
. OS environment variables.
208
208
. JNDI attributes from `java:comp/env`
209
- . A `RandomValuePropertySource` that only has properties in `random.*`.
209
+ . A `RandomValuePropertySource` that only has properties in `+ random.*+ `.
210
210
. Application properties outside of your packaged jar (`application.properties`
211
211
including YAML and profile variants).
212
212
. Application properties packaged inside your jar (`application.properties`
@@ -250,7 +250,7 @@ or test cases). It can produce integers, longs or strings, e.g.
250
250
my.number.in.range=${random.int[1024,65536]}
251
251
----
252
252
253
- The `random.int*` syntax is `OPEN value (,max) CLOSE` where the `OPEN,CLOSE` are any
253
+ The `+ random.int*+ ` syntax is `OPEN value (,max) CLOSE` where the `OPEN,CLOSE` are any
254
254
character and `value,max` are integers. If `max` is provided then `value` is the minimum
255
255
value and `max` is the maximum (exclusive).
256
256
@@ -737,7 +737,7 @@ As with console output, `ERROR`, `WARN` and `INFO` level messages are logged by
737
737
=== Log Levels
738
738
739
739
All the supported logging systems can have the logger levels set in the Spring
740
- `Environment` (so for example in `application.properties`) using '`logging.level.*=LEVEL`'
740
+ `Environment` (so for example in `application.properties`) using '`+ logging.level.*=LEVEL+ `'
741
741
where '`LEVEL`' is one of TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF. Example
742
742
`application.properties`:
743
743
@@ -929,7 +929,7 @@ the default MVC configuration) because Spring will always be able to handle requ
929
929
through the `DispatcherServlet`.
930
930
931
931
In addition to the '`standard`' static resource locations above, a special case is made for
932
- http://www.webjars.org/[Webjars content]. Any resources with a path in `/webjars/**` will
932
+ http://www.webjars.org/[Webjars content]. Any resources with a path in `+ /webjars/**+ ` will
933
933
be served from jar files if they are packaged in the Webjars format.
934
934
935
935
TIP: Do not use the `src/main/webapp` folder if your application will be packaged as a
@@ -1045,7 +1045,7 @@ your `application.properties` during configuration.
1045
1045
1046
1046
By default, if the context contains only a single Servlet it will be mapped to `/`. In
1047
1047
the case of multiple Servlets beans the bean name will be used as a path prefix. Filters
1048
- will map to `/* `.
1048
+ will map to `+/*+ `.
1049
1049
1050
1050
If convention-based mapping is not flexible enough you can use the
1051
1051
`ServletRegistrationBean` and `FilterRegistrationBean` classes for complete control. You
@@ -1186,16 +1186,16 @@ The basic features you get out of the box in a web application are:
1186
1186
1187
1187
* An `AuthenticationManager` bean with in-memory store and a single user (see
1188
1188
`SecurityProperties.User` for the properties of the user).
1189
- * Ignored (unsecure) paths for common static resource locations (`/css/\*\* `, `/js/\*\* `,
1190
- `/images/\*\* ` and `\*\ */favicon.ico`).
1189
+ * Ignored (unsecure) paths for common static resource locations (`+ /css/**+ `, `+ /js/**+ `,
1190
+ `+ /images/**+ ` and `+* */favicon.ico+ `).
1191
1191
* HTTP Basic security for all other endpoints.
1192
1192
* Security events published to Spring's `ApplicationEventPublisher` (successful and
1193
1193
unsuccessful authentication and access denied).
1194
1194
* Common low-level features (HSTS, XSS, CSRF, caching) provided by Spring Security are
1195
1195
on by default.
1196
1196
1197
1197
All of the above can be switched on and off or modified using external properties
1198
- (`security.*`). To override the access rules without changing any other autoconfigured
1198
+ (`+ security.*+ `). To override the access rules without changing any other autoconfigured
1199
1199
features add a `@Bean` of type `WebConfigurerAdapter` with
1200
1200
`@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)`.
1201
1201
@@ -1206,7 +1206,7 @@ If the Actuator is also in use, you will find:
1206
1206
* The default user will have the `ADMIN` role as well as the `USER` role.
1207
1207
1208
1208
The Actuator security features can be modified using external properties
1209
- (`management.security.*`). To override the application access rules
1209
+ (`+ management.security.*+ `). To override the application access rules
1210
1210
add a `@Bean` of type `WebConfigurerAdapter` and use
1211
1211
`@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)` if you _don't_ want to override
1212
1212
the actuator access rules, or `@Order(ManagementServerProperties.ACCESS_OVERRIDE_ORDER)`
@@ -1285,7 +1285,7 @@ NOTE: Additional connection pools can always be configured manually. If you defi
1285
1285
own `DataSource` bean, auto-configuration will not occur.
1286
1286
1287
1287
DataSource configuration is controlled by external configuration properties in
1288
- `spring.datasource.*`. For example, you might declare the following section
1288
+ `+ spring.datasource.*+ `. For example, you might declare the following section
1289
1289
in `application.properties`:
1290
1290
1291
1291
[source,properties,indent=0]
@@ -1452,7 +1452,7 @@ their http://projects.spring.io/spring-data-jpa/[reference documentation].
1452
1452
==== Creating and dropping JPA databases
1453
1453
By default JPA database will be automatically created *only* if you use an embedded
1454
1454
database (H2, HSQL or Derby). You can explicitly configure JPA settings using
1455
- `spring.jpa.*` properties. For example, to create and drop tables you can add the
1455
+ `+ spring.jpa.*+ ` properties. For example, to create and drop tables you can add the
1456
1456
following to your `application.properties`.
1457
1457
1458
1458
[indent=0]
@@ -1462,7 +1462,7 @@ following to your `application.properties`.
1462
1462
1463
1463
NOTE: Hibernate's own internal property name for this (if you happen to remember it
1464
1464
better) is `hibernate.hbm2ddl.auto`. You can set it, along with other Hibernate native
1465
- properties, using `spring.jpa.properties.*` (the prefix is stripped before adding them
1465
+ properties, using `+ spring.jpa.properties.*+ ` (the prefix is stripped before adding them
1466
1466
to the entity manager). Example:
1467
1467
1468
1468
[indent=0]
@@ -1815,7 +1815,7 @@ to integrate with JMS. Adding `org.hornetq:hornetq-jms-server` to your applicati
1815
1815
you to use the embedded mode.
1816
1816
1817
1817
HornetQ configuration is controlled by external configuration properties in
1818
- `spring.hornetq.*`. For example, you might declare the following section in
1818
+ `+ spring.hornetq.*+ `. For example, you might declare the following section in
1819
1819
`application.properties`:
1820
1820
1821
1821
[source,properties,indent=0]
@@ -1848,7 +1848,7 @@ available on the classpath. If the broker is present, an embedded broker is star
1848
1848
configured automatically (as long as no broker URL is specified through configuration).
1849
1849
1850
1850
ActiveMQ configuration is controlled by external configuration properties in
1851
- `spring.activemq.*`. For example, you might declare the following section in
1851
+ `+ spring.activemq.*+ `. For example, you might declare the following section in
1852
1852
`application.properties`:
1853
1853
1854
1854
[source,properties,indent=0]
0 commit comments