Line breaks in SAML response from Policy Server Federation Services
search cancel

Line breaks in SAML response from Policy Server Federation Services

book

Article ID: 398655

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Federation (SiteMinder) CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

Running Federation Services, how to remove the line breaks?

That appears in the SAMLResponse like:

FWSTrace.log

  <Message>SAML2 Single Sign-On Service sending base64 SAML Response:
  PG [...omitted for brevity...] 90^M
  b2 [...omitted for brevity...] I9^M
  In [...omitted for brevity...] ov^M

SAML Trace from client:

POST
RelayState: UC4T:0999:BRZ:E::DEFAULT:
SAMLResponse: PG [...omitted for brevity...] 90
b2 [...omitted for brevity...] I9
In [...omitted for brevity...] ov

How to remove them

  • At global level;
  • For specific partnerships?

Resolution

As per the Oasis standards for SAML message encoding, the use of line breaks is allowed (1):

The HTML document MUST adhere to the XHTML specification, [XHTML]. The base 64-encoded value MAY be line-wrapped at a reasonable length in accordance with common practice.

As such, to get possibility to set it or not, at global level, and at the partnership level, we invite you to open an Enhancement Request (Idea) (2).

 

Additional Information