|
@@ -69,7 +69,6 @@ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
|
|
|
.buildDetails(httpServletRequest));
|
|
.buildDetails(httpServletRequest));
|
|
|
SecurityContextHolder.getContext().setAuthentication(authentication);
|
|
SecurityContextHolder.getContext().setAuthentication(authentication);
|
|
|
} else {
|
|
} else {
|
|
|
- //todo test token
|
|
|
|
|
PrintWriter out = null ;
|
|
PrintWriter out = null ;
|
|
|
try{
|
|
try{
|
|
|
httpServletResponse.setCharacterEncoding("UTF-8");
|
|
httpServletResponse.setCharacterEncoding("UTF-8");
|