anchor.diff:  '''
   
   [[servlet-replace-permissionevaluator-bean-with-methodsecurityexpression-handler]]
  -[%interactive]
  -* [ ] Publish a `MethodSecurityExpressionHandler` instead of a `PermissionEvaluator`
  +==== Publish a `MethodSecurityExpressionHandler` instead of a `PermissionEvaluator`
   
   `@EnableMethodSecurity` does not pick up a `PermissionEvaluator`.
   This helps keep its API simple.
  
positive.code: '''
  
  [[reactive-check-for-annotationconfigurationexceptions]]
  [%interactive]
  * [ ] Check for ``AnnotationConfigurationException``s
  
  `useAuthorizationManager` activates stricter enforcement of Spring Security's non-repeatable or otherwise incompatible annotations.
  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.
  
negative.code: '''
  
  [[servlet-replace-globalmethodsecurity-with-methodsecurity]]
  ==== 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]
  
  {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.
  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.
  