Pārlūkot izejas kodu

Merge branch '6.2.x'

Closes gh-15144
Marcus Hert Da Coregio 1 gadu atpakaļ
vecāks
revīzija
9744cc44d2

+ 2 - 2
docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

@@ -1074,7 +1074,7 @@ class MethodSecurityConfig {
 	@Bean
 	@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
 	Advisor postAuthorize() {
-		return AuthorizationManagerBeforeMethodInterceptor.postAuthorize();
+		return AuthorizationManagerAfterMethodInterceptor.postAuthorize();
 	}
 }
 ----
@@ -1089,7 +1089,7 @@ class MethodSecurityConfig {
 	@Bean
 	@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
 	fun postAuthorize() : Advisor {
-		return AuthorizationManagerBeforeMethodInterceptor.postAuthorize()
+		return AuthorizationManagerAfterMethodInterceptor.postAuthorize()
 	}
 }
 ----