From bd727418791f6bfef75330c72da3135f2f3adee3 Mon Sep 17 00:00:00 2001 From: douxf Date: Wed, 22 May 2024 14:15:16 +0800 Subject: [PATCH] Fix wrong class on documentation Closes gh-15045 --- .../ROOT/pages/servlet/authorization/method-security.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc index 6e338e93c3..b0f8234e54 100644 --- a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc +++ b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc @@ -921,7 +921,7 @@ class MethodSecurityConfig { @Bean @Role(BeanDefinition.ROLE_INFRASTRUCTURE) Advisor postAuthorize() { - return AuthorizationManagerBeforeMethodInterceptor.postAuthorize(); + return AuthorizationManagerAfterMethodInterceptor.postAuthorize(); } } ---- @@ -936,7 +936,7 @@ class MethodSecurityConfig { @Bean @Role(BeanDefinition.ROLE_INFRASTRUCTURE) fun postAuthorize() : Advisor { - return AuthorizationManagerBeforeMethodInterceptor.postAuthorize() + return AuthorizationManagerAfterMethodInterceptor.postAuthorize() } } ----