Class AuthorizeReturnObjectMethodInterceptor
java.lang.Object
org.springframework.security.authorization.method.AuthorizeReturnObjectMethodInterceptor
- All Implemented Interfaces:
org.aopalliance.aop.Advice
,org.aopalliance.intercept.Interceptor
,org.aopalliance.intercept.MethodInterceptor
,org.springframework.aop.Advisor
,org.springframework.aop.framework.AopInfrastructureBean
,org.springframework.aop.PointcutAdvisor
,org.springframework.core.Ordered
,AuthorizationAdvisor
public final class AuthorizeReturnObjectMethodInterceptor
extends Object
implements AuthorizationAdvisor
A method interceptor that applies the given
AuthorizationProxyFactory
to any
return value annotated with AuthorizeReturnObject
- Since:
- 6.3
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.aop.Advisor
EMPTY_ADVICE
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionAuthorizeReturnObjectMethodInterceptor
(AuthorizationProxyFactory authorizationProxyFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.aopalliance.aop.Advice
int
getOrder()
org.springframework.aop.Pointcut
invoke
(org.aopalliance.intercept.MethodInvocation mi) boolean
void
setOrder
(int order) void
setPointcut
(org.springframework.aop.Pointcut pointcut)
-
Constructor Details
-
AuthorizeReturnObjectMethodInterceptor
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceorg.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order) -
getPointcut
public org.springframework.aop.Pointcut getPointcut()- Specified by:
getPointcut
in interfaceorg.springframework.aop.PointcutAdvisor
-
setPointcut
public void setPointcut(org.springframework.aop.Pointcut pointcut) -
getAdvice
public org.aopalliance.aop.Advice getAdvice()- Specified by:
getAdvice
in interfaceorg.springframework.aop.Advisor
-
isPerInstance
public boolean isPerInstance()- Specified by:
isPerInstance
in interfaceorg.springframework.aop.Advisor
-