We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3c90b31 + d8f757e commit c13815dCopy full SHA for c13815d
src/main/java/clap/server/adapter/inbound/security/filter/JwtAuthenticationFilter.java
@@ -49,13 +49,10 @@ protected void doFilterInternal(
49
@NotNull FilterChain filterChain
50
) throws ServletException, IOException {
51
try {
52
- if (Arrays.asList(PUBLIC_ENDPOINTS).contains(request.getRequestURI())) {
+ if (isAnonymousRequest(request)) {
53
filterChain.doFilter(request, response);
54
return;
55
}
56
- if (isAnonymousRequest(request)) {
57
- throw new AuthException(AuthErrorCode.UNAUTHORIZED);
58
- }
59
60
String accessToken = resolveAccessToken(request);
61
0 commit comments