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 @@ -548,7 +548,7 @@ class MethodSecurityConfig {
548548 @Bean
549549 @Role(BeanDefinition.ROLE_INFRASTRUCTURE)
550550 public Advisor customAuthorize(AuthorizationManager<MethodInvocationResult> rules) {
551- AnnotationMethodMatcher pattern = new AnnotationMethodMatcher (MySecurityAnnotation.class);
551+ AnnotationMatchingPointcut pattern = new AnnotationMatchingPointcut (MySecurityAnnotation.class);
552552 AuthorizationManagerAfterMethodInterceptor interceptor = new AuthorizationManagerAfterMethodInterceptor(pattern, rules);
553553 interceptor.setOrder(AuthorizationInterceptorsOrder.POST_AUTHORIZE_ADVISOR_ORDER.getOrder() + 1);
554554 return interceptor;
@@ -564,7 +564,7 @@ class MethodSecurityConfig {
564564 @Bean
565565 @Role(BeanDefinition.ROLE_INFRASTRUCTURE)
566566 fun customAuthorize(rules : AuthorizationManager<MethodInvocationResult>) : Advisor {
567- val pattern = AnnotationMethodMatcher (MySecurityAnnotation::class.java);
567+ val pattern = AnnotationMatchingPointcut (MySecurityAnnotation::class.java);
568568 val interceptor = AuthorizationManagerAfterMethodInterceptor(pattern, rules);
569569 interceptor.setOrder(AuthorizationInterceptorsOrder.POST_AUTHORIZE_ADVISOR_ORDER.getOrder() + 1);
570570 return interceptor;
You can’t perform that action at this time.
0 commit comments