Skip to content

Commit d17cbf4

Browse files
Merge branch '6.2.x'
Closes gh-14724
2 parents bcbabb6 + 940efe7 commit d17cbf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/springframework/security/authorization/method/AuthorizationManagerAfterMethodInterceptor.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static AuthorizationManagerAfterMethodInterceptor postAuthorize(
9393
PostAuthorizeAuthorizationManager authorizationManager) {
9494
AuthorizationManagerAfterMethodInterceptor interceptor = new AuthorizationManagerAfterMethodInterceptor(
9595
AuthorizationMethodPointcuts.forAnnotations(PostAuthorize.class), authorizationManager);
96-
interceptor.setOrder(500);
96+
interceptor.setOrder(AuthorizationInterceptorsOrder.POST_AUTHORIZE.getOrder());
9797
return interceptor;
9898
}
9999

@@ -107,7 +107,7 @@ public static AuthorizationManagerAfterMethodInterceptor postAuthorize(
107107
AuthorizationManager<MethodInvocationResult> authorizationManager) {
108108
AuthorizationManagerAfterMethodInterceptor interceptor = new AuthorizationManagerAfterMethodInterceptor(
109109
AuthorizationMethodPointcuts.forAnnotations(PostAuthorize.class), authorizationManager);
110-
interceptor.setOrder(500);
110+
interceptor.setOrder(AuthorizationInterceptorsOrder.POST_AUTHORIZE.getOrder());
111111
return interceptor;
112112
}
113113

0 commit comments

Comments
 (0)