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 DECEMBER 11, 2017

Applies to:

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


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
####<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)


 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).


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