After Adding "objectSid" To Assertion List "Invalid White Space Character" Exception Occurred (Doc ID 2278172.1)

Last updated on JUNE 21, 2017

Applies to:

Oracle Web Services Manager - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Using the OWSM policy oracle/wss_saml_token_bearer_over_ssl_client_policy to produce SAML token for a client.

The policy was working until an additional attribute: "objectSid" was added to the policy configuration field "user.attributes".
The user "user.attributes" is obtained from a Microsoft Active Directory identity provider.

objectSid contains the MSAD object identifier.
 
After adding "objectSid" following exception is observed in the Weblogic Server logs:

(0x1) in text to output (in xml 1.1, could output as a character entity)
javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x1) in text to output (in xml 1.1, could output as a character entity)
  at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:147)
...
Caused By: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x1) in text to output (in xml 1.1, could output as a character entity)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms