diff options
author | Vitaly Takmazov | 2022-12-31 01:12:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-31 01:12:21 +0300 |
commit | 0213858d0a9eeeb1d1ac3c60ceb1c721c8569a01 (patch) | |
tree | 3e541b84ff7534a66189032fca4cc371cefb5f00 /src/main/java/com/juick/service/security | |
parent | cbd6d79d6bad1f8e1e61e76a14cbd330ea5359cc (diff) |
ActivityPub: cleanup logging
Diffstat (limited to 'src/main/java/com/juick/service/security')
-rw-r--r-- | src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java b/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java index 723cf576..92e26406 100644 --- a/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java +++ b/src/main/java/com/juick/service/security/HTTPSignatureAuthenticationFilter.java @@ -32,6 +32,8 @@ import jakarta.servlet.FilterChain; import jakarta.servlet.ServletException; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; + +import javax.annotation.Nonnull; import java.io.IOException; import java.util.Collections; import java.util.Map; @@ -50,8 +52,8 @@ public class HTTPSignatureAuthenticationFilter extends OncePerRequestFilter { } @Override - protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) - throws IOException, ServletException { + protected void doFilterInternal(@Nonnull HttpServletRequest request, @Nonnull HttpServletResponse response, + @Nonnull FilterChain filterChain) throws IOException, ServletException { if (authenticationIsRequired()) { Map<String, String> headers = Collections.list(request.getHeaderNames()) .stream() |