Skip to content

Commit 1e7db09

Browse files
kse-musicjzheaux
authored andcommitted
Use correct message prompt
Signed-off-by: DingHao <[email protected]>
1 parent 456604a commit 1e7db09

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/AuthorizeReturnObjectMethodInterceptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ public final class AuthorizeReturnObjectMethodInterceptor implements Authorizati
4848
private int order = AuthorizationInterceptorsOrder.SECURE_RESULT.getOrder();
4949

5050
public AuthorizeReturnObjectMethodInterceptor(AuthorizationProxyFactory authorizationProxyFactory) {
51-
Assert.notNull(authorizationProxyFactory, "authorizationManager cannot be null");
51+
Assert.notNull(authorizationProxyFactory, "authorizationProxyFactory cannot be null");
5252
this.authorizationProxyFactory = authorizationProxyFactory;
5353
}
5454

0 commit comments

Comments
 (0)