Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SAML - Encoding an SAMLRequest String using Deflate, Base-64, URL-encode?

NiallAug 14 2017 — edited Jan 24 2019

Hi,

I'm currently trying to create a PL/SQL / APEX solution for authenticating against a corporate (non-Oracle) SAML2.

The first step is to create the request (SAMLRequest).  According to what I've been reading here https://en.wikipedia.org/wiki/SAML_2.0#HTTP_Redirect_Binding

Before it's sent, the message is deflated (without header and checksum), base64-encoded, and URL-encoded, in that order.

Does anyone know of an existing Oracle API that will do this (especially the deflation)?

If not, what would you suggest?

I've started looking at UTL_COMPRESS but don't find a reference to deflating anywhere.

All input is welcome.

Thanks in advance.

Niall.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2017
Added on Aug 14 2017
4 comments
934 views