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.MethodInterceptor
AMethodInterceptor
that supportsPreAuthorize
andPostAuthorize
for methods that returnMono
orFlux
- 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.Object
invoke(org.aopalliance.intercept.MethodInvocation invocation)
-
-
-
Constructor Detail
-
PrePostAdviceReactiveMethodInterceptor
public PrePostAdviceReactiveMethodInterceptor(MethodSecurityMetadataSource attributeSource, PreInvocationAuthorizationAdvice preInvocationAdvice, PostInvocationAuthorizationAdvice postInvocationAdvice)
Creates a new instance- Parameters:
attributeSource
- theMethodSecurityMetadataSource
to usepreInvocationAdvice
- thePreInvocationAuthorizationAdvice
to usepostInvocationAdvice
- thePostInvocationAuthorizationAdvice
to use
-
-