File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/modules/ROOT/pages/servlet/authorization Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ class MethodSecurityConfig {
562562 @Bean
563563 @Role(BeanDefinition.ROLE_INFRASTRUCTURE)
564564 public Advisor customAuthorize(AuthorizationManager<MethodInvocationResult> rules) {
565- AnnotationMethodMatcher pattern = new AnnotationMethodMatcher (MySecurityAnnotation.class);
565+ AnnotationMatchingPointcut pattern = new AnnotationMatchingPointcut (MySecurityAnnotation.class);
566566 AuthorizationManagerAfterMethodInterceptor interceptor = new AuthorizationManagerAfterMethodInterceptor(pattern, rules);
567567 interceptor.setOrder(AuthorizationInterceptorsOrder.POST_AUTHORIZE_ADVISOR_ORDER.getOrder() + 1);
568568 return interceptor;
@@ -579,7 +579,7 @@ class MethodSecurityConfig {
579579 @Bean
580580 @Role(BeanDefinition.ROLE_INFRASTRUCTURE)
581581 fun customAuthorize(rules : AuthorizationManager<MethodInvocationResult>) : Advisor {
582- val pattern = AnnotationMethodMatcher (MySecurityAnnotation::class.java);
582+ val pattern = AnnotationMatchingPointcut (MySecurityAnnotation::class.java);
583583 val interceptor = AuthorizationManagerAfterMethodInterceptor(pattern, rules);
584584 interceptor.setOrder(AuthorizationInterceptorsOrder.POST_AUTHORIZE_ADVISOR_ORDER.getOrder() + 1);
585585 return interceptor;
You can’t perform that action at this time.
0 commit comments