Class PrePostAdviceReactiveMethodInterceptor
- java.lang.Object
-
- org.springframework.security.access.prepost.PrePostAdviceReactiveMethodInterceptor
-
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public class PrePostAdviceReactiveMethodInterceptor extends java.lang.Object implements org.aopalliance.intercept.MethodInterceptorAMethodInterceptorthat supportsPreAuthorizeandPostAuthorizefor methods that returnMonoorFluxand Kotlin coroutine functions.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description PrePostAdviceReactiveMethodInterceptor(MethodSecurityMetadataSource attributeSource, PreInvocationAuthorizationAdvice preInvocationAdvice, PostInvocationAuthorizationAdvice postInvocationAdvice)Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(org.aopalliance.intercept.MethodInvocation invocation)
-
-
-
Constructor Detail
-
PrePostAdviceReactiveMethodInterceptor
public PrePostAdviceReactiveMethodInterceptor(MethodSecurityMetadataSource attributeSource, PreInvocationAuthorizationAdvice preInvocationAdvice, PostInvocationAuthorizationAdvice postInvocationAdvice)
Creates a new instance- Parameters:
attributeSource- theMethodSecurityMetadataSourceto usepreInvocationAdvice- thePreInvocationAuthorizationAdviceto usepostInvocationAdvice- thePostInvocationAuthorizationAdviceto use
-
-