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/method/PointcutDelegatingAuthorizationManager.java
Copy file name to clipboardExpand all lines: config/src/test/java/org/springframework/security/config/method/InterceptMethodsBeanDefinitionDecoratorTests.java
+1
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,7 @@ public void transactionalAuthorizationManagerMethodsShouldBeSecured() {
if (this.authorizationResultinstanceofAuthorizationDecisiondecision) {
82
+
returndecision;
83
+
}
84
+
thrownewIllegalArgumentException(
81
85
"Please call getAuthorizationResult instead. If you must call getDecision, please ensure that the result you provide is of type AuthorizationDecision");
"Please call setAuthorizationResult instead. If you must call getDecision, please ensure that the result you provide is of type AuthorizationDecision");
Copy file name to clipboardExpand all lines: core/src/main/java/org/springframework/security/authorization/ObservationReactiveAuthorizationManager.java
+4
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,10 @@ public ObservationReactiveAuthorizationManager(ObservationRegistry registry,
56
56
}
57
57
}
58
58
59
+
/**
60
+
* @deprecated please use {@link #authorize(Mono, Object)} instead
Copy file name to clipboardExpand all lines: core/src/main/java/org/springframework/security/authorization/method/AuthorizationManagerAfterMethodInterceptor.java
+8-8
Original file line number
Diff line number
Diff line change
@@ -182,22 +182,22 @@ public void setSecurityContextHolderStrategy(SecurityContextHolderStrategy strat
Copy file name to clipboardExpand all lines: core/src/main/java/org/springframework/security/authorization/method/AuthorizationManagerBeforeMethodInterceptor.java
+9-9
Original file line number
Diff line number
Diff line change
@@ -246,18 +246,18 @@ public void setSecurityContextHolderStrategy(SecurityContextHolderStrategy secur
0 commit comments