You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/src/main/java/org/springframework/security/config/annotation/method/configuration/EnableMethodSecurity.java
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2021 the original author or authors.
2
+
* Copyright 2002-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -87,4 +87,14 @@
87
87
*/
88
88
AdviceModemode() defaultAdviceMode.PROXY;
89
89
90
+
/**
91
+
* Indicate additional offset in the ordering of the execution of the security
92
+
* interceptors when multiple advices are applied at a specific joinpoint. I.e.,
93
+
* precedence of each security interceptor enabled by this annotation will be
94
+
* calculated as sum of its default precedence and offset. The default is 0.
95
+
* @return the offset in the order the security advisor should be applied
Copy file name to clipboardExpand all lines: config/src/main/java/org/springframework/security/config/annotation/method/configuration/Jsr250MethodSecurityConfiguration.java
Copy file name to clipboardExpand all lines: config/src/main/java/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfiguration.java
Copy file name to clipboardExpand all lines: config/src/main/java/org/springframework/security/config/annotation/method/configuration/SecuredMethodSecurityConfiguration.java
Copy file name to clipboardExpand all lines: config/src/test/java/org/springframework/security/config/annotation/method/configuration/MethodSecurityService.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,14 @@ public interface MethodSecurityService {
Copy file name to clipboardExpand all lines: config/src/test/java/org/springframework/security/config/annotation/method/configuration/MethodSecurityServiceImpl.java
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,11 @@ public List<String> manyAnnotations(List<String> object) {
0 commit comments