anchor.diff:  ----
   @EnableMethodSecurity
   ----
  -====
  -
  -For applications not using `prePostEnabled`, make sure to turn it off to avoid activating unwanted behavior.
  +
  +.Xml
  +[source,xml,role="secondary"]
  +----
  +<method-security/>
  +----
  +====
  +
  +For applications not using the pre-post annotations, make sure to turn it off to avoid activating unwanted behavior.
   
   For example, a listing like:
   
  
positive.code: ----
  ====
  
  Note that in 6.0, `useAuthorizationManager` defaults to `true`.
  
  Additionally, note that `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: ----
  @EnableGlobalMethodSecurity(prePostEnabled = true)
  ----
  
  .Xml
  [source,xml,role="secondary"]
  ----
  <global-method-security pre-post-enabled="true"/>
  ----
  ====
  
  and:
  
  ====
  .Java
  