add debug

This commit is contained in:
Ersun Warncke 2019-11-25 10:20:43 -04:00
parent 76359d4ec6
commit b6812462d6

View file

@ -138,6 +138,12 @@ public class Oauth2Filter implements Filter {
clientIp = request.getRemoteAddr();
}
Log.info("[{}] Authorization header present", clientIp);
// TEMPORARY DEBUG CODE
Enumeration headerNames = request.getHeaderNames();
while(headerNames.hasMoreElements()) {
String headerName = (String)headerNames.nextElement();
Log.info("HEADER {}: {}", headerName, request.getHeader(headerName));
}
StringTokenizer st = new StringTokenizer(authHeader);
if (st.hasMoreTokens()) {
String basic = st.nextToken();