| | |
| | | import com.jilongda.common.utils.ResponseUtils; |
| | | import com.jilongda.common.exception.ServiceException; |
| | | import com.jilongda.common.exception.TokenException; |
| | | import com.jilongda.optometry.service.SecUserService; |
| | | import io.jsonwebtoken.Claims; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.security.core.Authentication; |
| | |
| | | public AuthenticationFilter(SecurityUtils securityUtils) { |
| | | this.securityUtils = securityUtils; |
| | | } |
| | | @Resource |
| | | private SecUserService secUserService; |
| | | |
| | | @Override |
| | | protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException { |