Commit ab732d61 authored by michael.simon's avatar michael.simon
Browse files

Add trace logging for SAML Responses and Assertions for POST Handler

parent 1775190c
......@@ -86,8 +86,14 @@ public class SamlSpPostServiceImpl implements SamlSpPostService {
try {
Response samlResponse = saml2DecoderService.decodePostMessage(request);
if (logger.isTraceEnabled())
logger.trace("{}", samlHelper.prettyPrint(samlResponse));
assertion = saml2AssertionService.processSamlResponse(samlResponse, idpEntity, idpEntityDescriptor, spConfig);
if (logger.isTraceEnabled())
logger.trace("{}", samlHelper.prettyPrint(assertion));
persistentId = saml2AssertionService.extractPersistentId(assertion, spConfig);
} catch (Exception e1) {
/*
......
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