Skip to content

Commit

Permalink
Fix wrong class on documentation
Browse files Browse the repository at this point in the history
Closes gh-15045
  • Loading branch information
douxf authored and marcusdacoregio committed May 23, 2024
1 parent 08d8f56 commit bd72741
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ class MethodSecurityConfig {
@Bean
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
Advisor postAuthorize() {
return AuthorizationManagerBeforeMethodInterceptor.postAuthorize();
return AuthorizationManagerAfterMethodInterceptor.postAuthorize();
}
}
----
Expand All @@ -936,7 +936,7 @@ class MethodSecurityConfig {
@Bean
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
fun postAuthorize() : Advisor {
return AuthorizationManagerBeforeMethodInterceptor.postAuthorize()
return AuthorizationManagerAfterMethodInterceptor.postAuthorize()
}
}
----
Expand Down

0 comments on commit bd72741

Please sign in to comment.