diff --git a/pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigSecurityInnerAspect.java b/pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigSecurityInnerAspect.java index 4f22c841..e9ed64bc 100644 --- a/pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigSecurityInnerAspect.java +++ b/pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigSecurityInnerAspect.java @@ -29,7 +29,6 @@ import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.springframework.core.Ordered; import org.springframework.security.access.AccessDeniedException; -import org.springframework.stereotype.Component; import javax.servlet.http.HttpServletRequest; @@ -41,7 +40,6 @@ import javax.servlet.http.HttpServletRequest; */ @Slf4j @Aspect -@Component @AllArgsConstructor public class PigSecurityInnerAspect implements Ordered { private final HttpServletRequest request;