Fix wrong class on documentation

Closes gh-15045
This commit is contained in:
douxf
2024-05-22 14:15:16 +08:00
committed by Marcus Hert Da Coregio
parent 08d8f56cd6
commit bd72741879

View File

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