File tree Expand file tree Collapse file tree
core/src/main/java/org/springframework/security/authorization Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 * A factory for wrapping arbitrary objects in authorization-related advice
2121 *
2222 * @author Josh Cummings
23+ * @author daewon kim
2324 * @since 6.3
2425 * @see org.springframework.security.authorization.method.AuthorizationAdvisorProxyFactory
2526 */
@@ -30,11 +31,12 @@ public interface AuthorizationProxyFactory {
3031 *
3132 * <p>
3233 * Please check the implementation for which kinds of objects it supports.
34+ * @param <T> the type of the object being proxied
3335 * @param object the object to proxy
3436 * @return the proxied object
3537 * @throws org.springframework.aop.framework.AopConfigException if a proxy cannot be
3638 * created
3739 */
38- Object proxy (Object object );
40+ < T > T proxy (T object );
3941
4042}
You can’t perform that action at this time.
0 commit comments