anchor.diff:  ----
   @EnableGlobalMethodSecurity(prePostEnabled = true)
   ----
  -====
  -
  -Other usage can simply change {security-api-url}org/springframework/security/config/annotation/method/configuration/EnableMethodSecurity.html[`@EnableMethodSecurity`] to {security-api-url}org/springframework/security/config/annotation/method/configuration/EnableGlobalMethodSecurity.html[`@EnableGlobalMethodSecurity`], like so:
  +
  +.Xml
  +[source,xml,role="secondary"]
  +----
  +<global-method-security pre-post-enabled="true"/>
  +----
  +====
  +
  +Other usages can simply change {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>`] to {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>`], like so:
   
   ====
   .Java
  
positive.code: ----
  @EnableMethodSecurity(securedEnabled = true, prePostEnabled = false)
  ----
  ====
  
  should change to:
  
negative.code: ----
  ====
  
  '''
  
  [[revert]]
  If you are running into trouble with any of the 6.0 changes, please first try to apply the following changes to get you up and running.
  It's more important to stay on 6.0 and get the security improvements.
  
  == Revert Servlet
  
  === Don't Use `AuthorizationManager` in Method Security
  
  [[servlet-replace-methodsecurity-with-globalmethodsecurity]]
  [%interactive]
  * [ ] Replace xref:servlet/authorization/method-security.adoc#jc-enable-method-security[method security] with xref:servlet/authorization/method-security.adoc#jc-enable-global-method-security[global method security]
  
  For applications using xref:servlet/authorization/method-security.adoc#jc-enable-method-security[pre-post annotations], make sure to turn it on to reactivate the behavior.
  
  For example, change:
  
  