Skip to main content
ExLibris
  • Subscribe by RSS
  • ExLibris Dev

    Error after setting up ADFS in Primo Authentication

    • Product: Primo
    • Product Version: August 2016 Release
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    Primo Authentication has been configured to use ADFS (introduced in Primo August 2016 Release), but receives the following Exception:

     

    Error decrypting the encrypted data element
    org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size
    Original Exception was java.security.InvalidKeyException: Illegal key size
    at org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1822)
    at org.opensaml.xml.encryption.Decrypter.decryptDataToDOM(Decrypter.java:596)
    at org.opensaml.xml.encryption.Decrypter.decryptUsingResolvedEncryptedKey(Decrypter.java:795)

    [...etc]

    Resolution

    Primo may be missing Java Cryptography Extension (JCE) Unlimited Strength JAR installed in your Primo environment required for ADFS support.

    This third-party JAR is included in all Primo environments hosted by Ex Libris, but is not included in Primo build available for Local Primo installations.

    Please contact Ex Libris Support if you have a Local Primo installation and need this JAR.

     

     


    • Article last edited: 10-Aug-2016
    //doorbell.io feedback widged