Skip to content

Commit 5a88ac1

Browse files
author
Steve Cody
committed
debugging
1 parent 26b6173 commit 5a88ac1

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/main/java/od/added/AuthController.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ public class AuthController {
9797
@CrossOrigin
9898
@RequestMapping(value = "/login", method = RequestMethod.GET, produces = "application/json;charset=utf-8")
9999
public String login(HttpServletResponse response, HttpServletRequest request, Authentication authentication) {// ,
100+
101+
System.out.println("****************** Now we are inside the login auth controller");
102+
100103
// @RequestParam("user") String user, @RequestParam("pass") String pass)
101104

102105
// get token from a Cookie

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

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

@@ -47,7 +48,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
4748

4849

4950
System.out.println("------------------------Inside of do Filter");
50-
System.out.println("########################Path: " + request.getServletPath());
51+
System.out.println("------------------------Path: " + request.getServletPath());
5152

5253
// get token from a Cookie
5354
Cookie[] cookies = request.getCookies();

0 commit comments

Comments
 (0)