Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

...

Tip

For a simpler integration, Yellowfin 9.6 shipped with a SAML interface. If you don't already use the SAML Bridge application described in this section, the new interface might provide all the tools you need. If you plan to implement service provider-initiated flows, you will need to use the SAML Bridge application described here.

Anchor
failedsign
failedsign

...

onelogin.saml2.idp.x509cert =MIIC2DCCAcCgAwIBAgIQfdRAAWmWko1IsimA004o3TANBgkqhki…

...

Solution

  • Get a valid certificate from AD FS;
  • modify onelogin.saml.properties (onelogin.saml2.idp.x509cert);
  • restart Yellowfin;
  • update Yellowfin SAML Bridge relying party metadata in AD FS.

...

Styleclass
ClasstopLink

top

...

The Original Exception was java.security.InvalidKeyException: Illegal key size

 

Solution

When inspecting the SAML response payload below, the data is encrypted with AES-256:

Refer to the EncryptionMethod Algorithm here: http://www.w3.org/2001/04/xmlenc#aes256-cbc

 

By default, Java’s key size is limited to 128-bit key due to US export laws and a few countries’ import laws.

...

 

...

Styleclass
ClasstopLink

top

...

SAML requires the name ID as part of the Identity Provider response. If you provide the incorrect name ID of your AD FS, then you will see the following exception in your browser:

 

Ensure that you pass the correct name ID and that it matches the format expected by the SAML bridge (that is, onelogin.saml2.sp.nameidformat of onelogin.saml.properties).

...

NAMEID_ENCRYPTED = 'urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted';

...

The example below shows a list of correct Yellowfin logs regarding the SAML response:

...

DEBUG com.onelogin.saml2.SamlAuth - processResponse success --> <very long line representing signing certificate>

 

...

Styleclass
ClasstopLink

top

...

Then it means that you have switched off the user provision functionality, and the passed ID is not of a Yellowfin user.

 

 

Styleclass
ClasstopLink

top

 

 

...


Section


Column
width70

Previous topic: Bridge operation settings


Column

Next topic: Examples