public class PrePostAdviceReactiveMethodInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor
MethodInterceptor
that supports PreAuthorize
and
PostAuthorize
for methods that return Mono
or Flux
Constructor and Description |
---|
PrePostAdviceReactiveMethodInterceptor(MethodSecurityMetadataSource attributeSource,
PreInvocationAuthorizationAdvice preInvocationAdvice,
PostInvocationAuthorizationAdvice postInvocationAdvice)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
public PrePostAdviceReactiveMethodInterceptor(MethodSecurityMetadataSource attributeSource, PreInvocationAuthorizationAdvice preInvocationAdvice, PostInvocationAuthorizationAdvice postInvocationAdvice)
attributeSource
- the MethodSecurityMetadataSource
to usepreInvocationAdvice
- the PreInvocationAuthorizationAdvice
to usepostInvocationAdvice
- the PostInvocationAuthorizationAdvice
to use