Commit 05d8334d authored by michael.simon's avatar michael.simon
Browse files

possibly enable assertion logging with attributequery and trace logging

on class UserUpdater
parent 08e7684b
......@@ -272,6 +272,10 @@ public class UserUpdater implements Serializable {
try {
assertion = saml2AssertionService.processSamlResponse(samlResponse, idpEntity,
idpEntityDescriptor, spEntity, false);
if (logger.isTraceEnabled())
logger.trace("{}", samlHelper.prettyPrint(assertion));
} catch (NoAssertionException e) {
if (user.getIdp() != null)
logger.warn("No assertion delivered for user {} from idp {}", user.getEppn(), user.getIdp().getEntityId());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment