Skip to content

Commit bd72741

Browse files
douxfmarcusdacoregio
douxf
authored andcommitted
Fix wrong class on documentation
Closes gh-15045
1 parent 08d8f56 commit bd72741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ class MethodSecurityConfig {
921921
@Bean
922922
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
923923
Advisor postAuthorize() {
924-
return AuthorizationManagerBeforeMethodInterceptor.postAuthorize();
924+
return AuthorizationManagerAfterMethodInterceptor.postAuthorize();
925925
}
926926
}
927927
----
@@ -936,7 +936,7 @@ class MethodSecurityConfig {
936936
@Bean
937937
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
938938
fun postAuthorize() : Advisor {
939-
return AuthorizationManagerBeforeMethodInterceptor.postAuthorize()
939+
return AuthorizationManagerAfterMethodInterceptor.postAuthorize()
940940
}
941941
}
942942
----

0 commit comments

Comments
 (0)