4748495051525354555657
String[] roles = annotation.value(); boolean hasPermission = securityContext.isUserInRole(roles); if (!hasPermission) throw new AccessDeniedException("拒绝访问"); } } // 执行被拦截的业务方法 Object result = methodInvocation.proceed();