SAML assertion getting added with carriage return characters after the API Gateway upgrade to version 11.0
search cancel

SAML assertion getting added with carriage return characters after the API Gateway upgrade to version 11.0

book

Article ID: 275427

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We just upgraded to API gateway version 11.0 in our staging environment and now we are noticing SAML assertion is getting added with some special characters due to which the related integration is not working anymore as the backend application is not recognizing that SAML response.

 

Environment

Release : 10.x, 11.x

Cause

The added special characters are carriage return.  It is related to SANTURAIO-482 issue.

https://issues.apache.org/jira/browse/SANTUARIO-482

Resolution

Add line 

org.apache.xml.security.ignoreLineBreaks=true

in system.properties file,  restart the gateway.