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
@Deprecated
public class PrePostAdviceReactiveMethodInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor
Deprecated.
A
MethodInterceptor that supports PreAuthorize and
PostAuthorize for methods that return Mono or Flux and Kotlin
coroutine functions.- Since:
- 5.0
-
Constructor Summary
ConstructorsConstructorDescriptionPrePostAdviceReactiveMethodInterceptor(MethodSecurityMetadataSource attributeSource, PreInvocationAuthorizationAdvice preInvocationAdvice, PostInvocationAuthorizationAdvice postInvocationAdvice) Deprecated.Creates a new instance -
Method Summary
-
Constructor Details
-
PrePostAdviceReactiveMethodInterceptor
public PrePostAdviceReactiveMethodInterceptor(MethodSecurityMetadataSource attributeSource, PreInvocationAuthorizationAdvice preInvocationAdvice, PostInvocationAuthorizationAdvice postInvocationAdvice) Deprecated.Creates a new instance- Parameters:
attributeSource- theMethodSecurityMetadataSourceto usepreInvocationAdvice- thePreInvocationAuthorizationAdviceto usepostInvocationAdvice- thePostInvocationAuthorizationAdviceto use
-
-
Method Details
-
invoke
Deprecated.- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor
-
AuthorizationManagerBeforeReactiveMethodInterceptororAuthorizationManagerAfterReactiveMethodInterceptor