Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2542

Rest request to list spaces fails when RHPAM is integrated with RHSSO using SAML protocol

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Rejected
    • None
    • None
    • Business Central
      • Red Hat Process Automation Manager (RHPAM) 7.5.0
      • Red Hat Single Sign ON (RHSSO) 7.3.4
      • Red Hat Single Sign-On 7.3.4 SAML Adapter for JBoss EAP 7
    • Hide
      • Install and integrate RHPAM 7.5.0 with RHSSO 7.3.4 using SAML protocol and SAML adapter for EAP 7.
      • Try to list spaces using REST API:

      *****************************************
      $ curl -u 'rhpamadmin:rhpamadmin' -H "accept: application/json" -X GET "http://localhost:8080/business-central/rest/spaces"
      *****************************************

      Show
      Install and integrate RHPAM 7.5.0 with RHSSO 7.3.4 using SAML protocol and SAML adapter for EAP 7. Try to list spaces using REST API: ***************************************** $ curl -u 'rhpamadmin:rhpamadmin' -H "accept: application/json" -X GET "http://localhost:8080/business-central/rest/spaces" *****************************************
    • 2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30)

    Description

      Attempt to list spaces in RHPAM using REST API and the following command:

      ********************************************
      $ curl -u 'rhpamadmin:rhpamadmin' -H "accept: application/json" -X GET "http://localhost:8080/business-central/rest/spaces"
      ********************************************

      fails with the following error:

      *********************************************
      2019-11-25 11:56:59,697 ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /business-central/rest/spaces: org.jboss.resteasy.spi.UnhandledException: org.jboss.weld.exceptions.IllegalProductException: WELD-000052: Cannot return null from a non-dependent producer method: Producer for Producer Method [User] with qualifiers [@Any @Default] declared as [[BackedAnnotatedMethod] @Produces @RequestScoped public org.kie.workbench.screens.workbench.backend.impl.DefaultApplicationScopedProducer.getIdentity()] declared on Managed Bean [class org.kie.workbench.screens.workbench.backend.impl.DefaultApplicationScopedProducer] with qualifiers [@Any @Default]
      *********************************************

      See attached full log - server_log.zip.

      This works fine when OpenID protocol and adapter is used.

      Attachments

        Issue Links

          Activity

            People

              elguardian@gmail.com Enrique González Martínez (Inactive)
              rhn-support-bkramer1 Biljana Kramer
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: