File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
core/src/main/java/org/springframework/security/authorization Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 20
20
* A factory for wrapping arbitrary objects in authorization-related advice
21
21
*
22
22
* @author Josh Cummings
23
+ * @author daewon kim
23
24
* @since 6.3
24
25
* @see org.springframework.security.authorization.method.AuthorizationAdvisorProxyFactory
25
26
*/
@@ -30,11 +31,12 @@ public interface AuthorizationProxyFactory {
30
31
*
31
32
* <p>
32
33
* Please check the implementation for which kinds of objects it supports.
34
+ * @param <T> the type of the object being proxied
33
35
* @param object the object to proxy
34
36
* @return the proxied object
35
37
* @throws org.springframework.aop.framework.AopConfigException if a proxy cannot be
36
38
* created
37
39
*/
38
- Object proxy (Object object );
40
+ < T > T proxy (T object );
39
41
40
42
}
You can’t perform that action at this time.
0 commit comments