Class AuthorizationManagerBeforeReactiveMethodInterceptor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.aop.Advisor, org.springframework.aop.framework.AopInfrastructureBean, org.springframework.aop.PointcutAdvisor, org.springframework.core.Ordered

    public final class AuthorizationManagerBeforeReactiveMethodInterceptor
    extends java.lang.Object
    implements org.springframework.core.Ordered, org.aopalliance.intercept.MethodInterceptor, org.springframework.aop.PointcutAdvisor, org.springframework.aop.framework.AopInfrastructureBean
    A MethodInterceptor which can determine if an Authentication has access to the MethodInvocation using the configured ReactiveAuthorizationManager.
    Since:
    5.8
    • Constructor Detail

      • AuthorizationManagerBeforeReactiveMethodInterceptor

        public AuthorizationManagerBeforeReactiveMethodInterceptor​(org.springframework.aop.Pointcut pointcut,
                                                                   ReactiveAuthorizationManager<org.aopalliance.intercept.MethodInvocation> authorizationManager)
        Creates an instance.
        Parameters:
        pointcut - the Pointcut to use
        authorizationManager - the ReactiveAuthorizationManager to use