Skip to content

Commit

Permalink
Added logging for the Shibboleth (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak authored Jul 28, 2023
1 parent 808df96 commit 8b24891
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ public Authentication attemptAuthentication(HttpServletRequest req,
}
}

// logging
log.debug("Shib-Identity-Provider: " + idp);
log.debug("authentication-shibboleth.netid-header: " + netidHeader + " with value: " + netid);
log.debug("authentication-shibboleth.email-header: " + emailHeader + " with value: " + email);

try {
if (StringUtils.isEmpty(netid) || StringUtils.isEmpty(idp)) {
log.error("Cannot load the netid or idp from the request headers.");
Expand Down

0 comments on commit 8b24891

Please sign in to comment.