Interface AuthorizationProxyFactory
- All Known Implementing Classes:
AuthorizationAdvisorProxyFactory
,ReactiveAuthorizationAdvisorProxyFactory
public interface AuthorizationProxyFactory
A factory for wrapping arbitrary objects in authorization-related advice
- Since:
- 6.3
- See Also:
-
Method Summary
-
Method Details
-
proxy
Wrap the givenobject
in authorization-related advice.Please check the implementation for which kinds of objects it supports.
- Parameters:
object
- the object to proxy- Returns:
- the proxied object
- Throws:
org.springframework.aop.framework.AopConfigException
- if a proxy cannot be created
-