Skip to content

Commit 1dd13e6

Browse files
committed
Standardize Preparation Guide Layout
Closes gh-12096
1 parent bd4e0fb commit 1dd13e6

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

docs/modules/ROOT/pages/migration.adoc

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ xref:servlet/authorization/method-security.adoc[Method Security] has been xref:s
3434
'''
3535

3636
[[servlet-replace-globalmethodsecurity-with-methodsecurity]]
37-
[%interactive]
38-
* [ ] Replace xref:servlet/authorization/method-security.adoc#jc-enable-global-method-security[global method security] with xref:servlet/authorization/method-security.adoc#jc-enable-method-security[method security]
37+
==== Replace xref:servlet/authorization/method-security.adoc#jc-enable-global-method-security[global method security] with xref:servlet/authorization/method-security.adoc#jc-enable-method-security[method security]
3938

4039
{security-api-url}org/springframework/security/config/annotation/method/configuration/EnableGlobalMethodSecurity.html[`@EnableGlobalMethodSecurity`] and xref:servlet/appendix/namespace/method-security.adoc#nsa-global-method-security[`<global-method-security>`] are deprecated in favor of {security-api-url}org/springframework/security/config/annotation/method/configuration/EnableMethodSecurity.html[`@EnableMethodSecurity`] and xref:servlet/appendix/namespace/method-security.adoc#nsa-method-security[`<method-security>`], respectively.
4140
The new annotation and XML element activate Spring's xref:servlet/authorization/method-security.adoc#jc-enable-method-security[pre-post annotations] by default and use `AuthorizationManager` internally.
@@ -133,8 +132,7 @@ should change to:
133132
'''
134133

135134
[[servlet-replace-permissionevaluator-bean-with-methodsecurityexpression-handler]]
136-
[%interactive]
137-
* [ ] Publish a `MethodSecurityExpressionHandler` instead of a `PermissionEvaluator`
135+
==== Publish a `MethodSecurityExpressionHandler` instead of a `PermissionEvaluator`
138136

139137
`@EnableMethodSecurity` does not pick up a `PermissionEvaluator`.
140138
This helps keep its API simple.
@@ -194,8 +192,7 @@ companion object {
194192
'''
195193

196194
[[servlet-check-for-annotationconfigurationexceptions]]
197-
[%interactive]
198-
* [ ] Check for ``AnnotationConfigurationException``s
195+
==== Check for ``AnnotationConfigurationException``s
199196

200197
`@EnableMethodSecurity` and `<method-security>` activate stricter enforcement of Spring Security's non-repeatable or otherwise incompatible annotations.
201198
If after moving to either you see ``AnnotationConfigurationException``s in your logs, follow the instructions in the exception message to clean up your application's method security annotation usage.
@@ -209,8 +206,7 @@ xref:reactive/authorization/method.adoc[Method Security] has been xref:reactive/
209206
'''
210207

211208
[[reactive-change-to-useauthorizationmanager]]
212-
[%interactive]
213-
* [ ] Change `useAuthorizationManager` to `true`
209+
==== Change `useAuthorizationManager` to `true`
214210

215211
In Spring Security 5.8, `useAuthorizationManager` was added to {security-api-url}org/springframework/security/config/annotation/method/configuration/EnableReactiveMethodSecurity.html[`@EnableReactiveMethodSecurity`] to allow applications to opt-in to ``AuthorizationManager``'s features.
216212

@@ -254,8 +250,7 @@ In 6.0, `useAuthorizationManager` defaults to `true`.
254250
'''
255251

256252
[[reactive-check-for-annotationconfigurationexceptions]]
257-
[%interactive]
258-
* [ ] Check for ``AnnotationConfigurationException``s
253+
==== Check for ``AnnotationConfigurationException``s
259254

260255
`useAuthorizationManager` activates stricter enforcement of Spring Security's non-repeatable or otherwise incompatible annotations.
261256
If after turning on `useAuthorizationManager` you see ``AnnotationConfigurationException``s in your logs, follow the instructions in the exception message to clean up your application's method security annotation usage.

0 commit comments

Comments
 (0)