Apache.Shiro.Authz.Aop.AttributeAuthorizingMethodInterceptor.AssertAuthorized C# (CSharp) Method

AssertAuthorized() public method

public AssertAuthorized ( IMethodInvocation invocation ) : void
invocation IMethodInvocation
return void
        public override void AssertAuthorized(IMethodInvocation invocation)
        {
            if (MethodInterceptors == null || MethodInterceptors.Count == 0)
            {
                return;
            }

            foreach (var interceptor in MethodInterceptors)
            {
                interceptor.AssertAuthorized(invocation);
            }
        }