WebLogic Server Service Provider with HTTP Redirect Binding Requests Fail with "get SAMLRequest from http request" and "can't unmarshall to a saml object" (Doc ID 1405215.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.3 and later
Information in this document applies to any platform.

Symptoms

When using SAML 2.0 with HTTP redirect binding, WebLogic Server encounters an issue with inflate/deflate. The WebLogic Server Identity Provider (IdP) gives the same error with every authorization request.

####<Jan 26, 2012 12:23:47 PM EST> <Debug> <SecuritySAML2Service> <aclxwtsdevweb> <AdminServer> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <942aeb5d66f84949:6bf48720:135162d939c:-7ff9-0000000000000172> <1327598627119> <BEA-000000> <get SAMLRequest from http request, value:hZJRT8IwFIX/ytL3sbGxAc1YMpgkJGqIGh98MbVcpEnXzt47wH9vNzTBF31qcntOznduW6Bod
Murjg7mAT46QArOjTbIh4sF65zhVqBCbkQDyEnyx+ruliejmLfOkpVWsyvL3w6BCI6UNSzY1Av
2ulpXs/k6z+bLyTKdT2dxVWdJlS7n8c00S7OcBc/g0OsXzNu9CbGDjUEShvwoHidhPA6T/Gk
85UnKJ/kLC2rfQRlBg+tA1PIoElKfT4Q7OJ7gbXQAoekwwq5pxEgZoKgnTyK1ayNEGznYK
QeSWLCyBqGP+quUvIi47JzzZ6iaViupvH1tnYRhtwu2Fxqhb7D1S1BH+JmURR/Oh2au7HM
Grm9G6945tkV0rSkub3bvQTb11vqszz6pEf9w9hO1C/eDlJMTBpXnZUGltT2tHAjyVO
Q6YFF5ifz9M8ov>
####<Jan 26, 2012 12:23:47 PM EST> <Debug> <SecuritySAML2Service> <aclxwtsdevweb> <AdminServer> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <942aeb5d66f84949:6bf48720:135162d939c:-7ff9-0000000000000172> <1327598627119> <BEA-000000> <can't unmarshall to a saml object.
java.util.zip.DataFormatException: unknown compression method
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:238)
at java.util.zip.Inflater.inflate(Inflater.java:256)
at com.bea.security.saml2.binding.impl.BindingUtil.deflateDecode(BindingUtil.java:126)

Changes

 WebLogic is configured as the IdP, and a simple PHP Service Provider (SP) is to be configured. There was no resolution after trying three different PHP libraries (SimpleSAMLPPHP, Apache mod_auth_mellon, Lasso).

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