Skip to content

Commit

Permalink
Merge pull request #320 from kdhrubo/feature/316_fix_unkey
Browse files Browse the repository at this point in the history
#316 - fix unkey imports
  • Loading branch information
kdhrubo authored Feb 24, 2024
2 parents 9547ea6 + f9413d5 commit f27a1f3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.jetbrains.annotations.NotNull;
import org.springframework.http.MediaType;
import org.springframework.web.filter.OncePerRequestFilter;
import java.io.IOException;
Expand All @@ -28,8 +27,8 @@ public class UnKeyAuthFilter extends OncePerRequestFilter {
String API_KEY_HEADER = "X-API-KEY";

@Override
protected void doFilterInternal(final HttpServletRequest request, final @NotNull HttpServletResponse response,
final @NotNull FilterChain filterChain) throws ServletException, IOException {
protected void doFilterInternal(final HttpServletRequest request, final HttpServletResponse response,
final FilterChain filterChain) throws ServletException, IOException {
logger.info(" *** Apply UnKeyAuth Filter ***");

// Check the header and return authentication failed if header not present
Expand Down

0 comments on commit f27a1f3

Please sign in to comment.