Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-121123

Unable to unmarshall InputStream, when target instance has not enabled a SAML role

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      2

      Description

       

      In a IDP + SP setup, both Liferay Portal,

      We got the following error message, when the SP connection setting contains valid URL, but the target instance, hasn't enabled it's SAML Role at the SAML Admin / General tab.

       2020-09-18 09:20:47.140 ERROR [http-nio-8080-exec-10][XMLObjectSupport:240] Unable to unmarshall InputStream, no unmarshaller registered for element script
      2020-09-18 09:20:47.143 INFO [http-nio-8080-exec-10][SamlAdminPortlet:77] org.opensaml.core.xml.io.UnmarshallingException: Unable to unmarshall InputStream, no unmarshaller registered for element script
      

      Repro:

      1. Start a Portal instance
      2. Set IDP SAML role for the default instance, create certificates and enable the SAML Role
      3. Create a virtual instance
      4. Set SP role for the virtual instance add IDP connection to the default instance but didn't enable the SAML role at SAML Admin/General tab.
      5. Go back to IDP instance / SAML admin
      6. Open the SP connectors
      7. Add new SP connections with metadata url
      8. Save the SAML connector data

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            gabor.lovas Gábor Lovas
            Participants of an Issue:
            Recent user:
            Gábor Lovas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              24 weeks, 1 day ago

                Packages

                Version Package