| | |
| | | import org.springframework.lang.NonNull; |
| | | |
| | | @Aspect |
| | | /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/aspect/AuthAspect.class */ |
| | | public class AuthAspect implements ApplicationContextAware { |
| | | private static final ExpressionParser EXPRESSION_PARSER = new SpelExpressionParser(); |
| | | private ApplicationContext applicationContext; |
| | |
| | | return AuthUtil.isAdministrator(); |
| | | } |
| | | |
| | | @Around("@annotation(org.springblade.core.secure.annotation.PreAuth) || @within(org.springblade.core.secure.annotation.PreAuth)") |
| | | @Around("@annotation(com.qianwen.core.secure.annotation.PreAuth) || @within(com.qianwen.core.secure.annotation.PreAuth)") |
| | | public Object preAuth(ProceedingJoinPoint point) throws Throwable { |
| | | if (doTenantFilter()) { |
| | | return point.proceed(); |