Skip to content
Snippets Groups Projects
Commit 2ec84bbe authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1614 code review annotations

parent b7a749ac
No related branches found
No related tags found
No related merge requests found
...@@ -33,10 +33,14 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter { // TODO prü ...@@ -33,10 +33,14 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter { // TODO prü
private JwtTokenUtil jwtTokenUtil; private JwtTokenUtil jwtTokenUtil;
public JwtAuthenticationFilter(JwtTokenUtil jwtTokenUtil) { public JwtAuthenticationFilter(JwtTokenUtil jwtTokenUtil) { // TODO wir verwenden keine Constructor injection sondern annotieren das Feld
// mit @Autowired
this.jwtTokenUtil = jwtTokenUtil; this.jwtTokenUtil = jwtTokenUtil;
} }
// FIXME - prüfen welche Datei heruntergeladen wird - kann auch im Controller
// erfolgen
// TODO cleanup code - verwende DownloadTokenService
@Override @Override
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
throws ServletException, IOException { throws ServletException, IOException {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment