Interface AuthorizationProxyFactory
- All Known Implementing Classes:
AuthorizationAdvisorProxyFactory
public interface AuthorizationProxyFactory
A factory for wrapping arbitrary objects in authorization-related advice
- Since:
- 6.3
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T> @Nullable Tproxy(@Nullable T object) Wrap the givenobjectin authorization-related advice.
-
Method Details
-
proxy
<T> @Nullable T proxy(@Nullable T object) Wrap the givenobjectin authorization-related advice.Please check the implementation for which kinds of objects it supports.
- Type Parameters:
T- the type of the object being proxied- Parameters:
object- the object to proxy- Returns:
- the proxied object
- Throws:
org.springframework.aop.framework.AopConfigException- if a proxy cannot be created
-