usnistgov / iheos-toolkit2

XDS Toolkit
https://ihexds.nist.gov
45 stars 25 forks source link

Parameterize SAML assertion white space treatment #559

Closed skbhaskarla closed 2 years ago

skbhaskarla commented 2 years ago

According to https://gazelle.ihe.net/gazelle-documentation/Gazelle-STS/user.html, "Line break and whitespaces must be stripped out from requests, otherwise the following requests will not work." This is used for the XUA tests and it worked fine for those tests.

It was reported that this whitespace treatment may cause an undesired effect on XML DSIG causing it to be invalid. While this is still under investigation, this ticket will make it possible to bypass whitespace treatment which can be used for debugging purposes.

skbhaskarla commented 2 years ago

Use these new settings to debug SAML assertions: toolkit.properties: Sts_RemoveWhitespace=false

logging.properties: gov.nist.toolkit.validatorsSoapMessage.message.level = FINE