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
ConstructorDescriptionPrePostAdviceReactiveMethodInterceptor
(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
- theMethodSecurityMetadataSource
to usepreInvocationAdvice
- thePreInvocationAuthorizationAdvice
to usepostInvocationAdvice
- thePostInvocationAuthorizationAdvice
to use
-
-
Method Details
-
invoke
Deprecated.- Specified by:
invoke
in interfaceorg.aopalliance.intercept.MethodInterceptor
-
AuthorizationManagerBeforeReactiveMethodInterceptor
orAuthorizationManagerAfterReactiveMethodInterceptor