We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d769b5 commit 6e16053Copy full SHA for 6e16053
docs/modules/ROOT/pages/servlet/authorization/method-security.adoc
@@ -1281,7 +1281,7 @@ companion object {
1281
@Bean
1282
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
1283
fun protectServicePointcut(): Advisor {
1284
- var pattern = AspectJExpressionPointcut();
+ val pattern = AspectJExpressionPointcut();
1285
pattern.setExpression("execution(* com.mycompany.*Service.*(..))");
1286
return new AuthorizationManagerBeforeMethodInterceptor(pattern, hasRole("USER"));
1287
}
0 commit comments