🐛 Fixing a bug. #19KSF PigSecurityInnerAspect 扫描失败, auth @Inner 无法使用

This commit is contained in:
华立 2020-03-17 22:51:17 +08:00 committed by Gitee
parent 2d4da29871
commit acb8abf5fc

View File

@ -29,7 +29,6 @@ import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Aspect;
import org.springframework.core.Ordered; import org.springframework.core.Ordered;
import org.springframework.security.access.AccessDeniedException; import org.springframework.security.access.AccessDeniedException;
import org.springframework.stereotype.Component;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
@ -41,7 +40,6 @@ import javax.servlet.http.HttpServletRequest;
*/ */
@Slf4j @Slf4j
@Aspect @Aspect
@Component
@AllArgsConstructor @AllArgsConstructor
public class PigSecurityInnerAspect implements Ordered { public class PigSecurityInnerAspect implements Ordered {
private final HttpServletRequest request; private final HttpServletRequest request;