소스 검색

Polish gh-14219

Steve Riesenberg 1 년 전
부모
커밋
6e1605314a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

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

@@ -1281,7 +1281,7 @@ companion object {
     @Bean
     @Role(BeanDefinition.ROLE_INFRASTRUCTURE)
     fun protectServicePointcut(): Advisor {
-        var pattern = AspectJExpressionPointcut();
+        val pattern = AspectJExpressionPointcut();
         pattern.setExpression("execution(* com.mycompany.*Service.*(..))");
         return new AuthorizationManagerBeforeMethodInterceptor(pattern, hasRole("USER"));
     }