We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac95ce6 + 158e76d commit eface62Copy full SHA for eface62
src/main/java/com/dnd/reevserver/global/jwt/filter/JwtAuthenticationFilter.java
@@ -39,9 +39,7 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter {
39
*/
40
@Override
41
protected boolean shouldNotFilter(HttpServletRequest request) throws ServletException {
42
- return request.getMethod().equalsIgnoreCase("GET") ||
43
- request.getMethod().equalsIgnoreCase("OPTIONS") ||
44
- Arrays.stream(SecurityEndpointPaths.WHITE_LIST)
+ return Arrays.stream(SecurityEndpointPaths.WHITE_LIST)
45
.anyMatch(path -> PatternMatchUtils.simpleMatch(path, request.getRequestURI()));
46
}
47
/**
0 commit comments