mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Fix wrong class on documentation
Closes gh-15045
This commit is contained in:
parent
08d8f56cd6
commit
bd72741879
@ -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()
|
||||
}
|
||||
}
|
||||
----
|
||||
|
Loading…
x
Reference in New Issue
Block a user