Skip to content

Commit 26b6173

Browse files
author
Steve Cody
committed
logging debugging
1 parent 06b81c0 commit 26b6173

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/main/java/od/auth/JwtRequestFilter.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,18 @@ public class JwtRequestFilter extends OncePerRequestFilter {
3737
@Override
3838
protected boolean shouldNotFilter(HttpServletRequest request) {
3939
String path = request.getServletPath();
40-
return (path.startsWith("/lti") || path.startsWith("/login"));
40+
System.out.println("*******************Inside of Should Not Filter");
41+
return (path.startsWith("/lti") || path.contains("login"));
4142
}
4243

4344
@Override
4445
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
4546
throws ServletException, IOException {
4647

48+
49+
System.out.println("------------------------Inside of do Filter");
50+
System.out.println("########################Path: " + request.getServletPath());
51+
4752
// get token from a Cookie
4853
Cookie[] cookies = request.getCookies();
4954
Cookie sessionCookie = null;

0 commit comments

Comments
 (0)