Skip to content

Commit 6e16053

Browse files
committed
Polish gh-14219
1 parent 1d769b5 commit 6e16053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ companion object {
12811281
@Bean
12821282
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
12831283
fun protectServicePointcut(): Advisor {
1284-
var pattern = AspectJExpressionPointcut();
1284+
val pattern = AspectJExpressionPointcut();
12851285
pattern.setExpression("execution(* com.mycompany.*Service.*(..))");
12861286
return new AuthorizationManagerBeforeMethodInterceptor(pattern, hasRole("USER"));
12871287
}

0 commit comments

Comments
 (0)