Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4293

SyncopeLoginModule could potentialy receive wrong message format

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.9, 4.0.3
    • Fix Version/s: 4.1.0, 3.0.6, 4.0.5
    • Component/s: karaf
    • Labels:
      None

      Description

      The SyncopeLoginModule calls a REST service from Syncope to receive user and role information. The REST service is able to respond in XML or in JSON. The current SyncopeLoginModule implementation parses the Sycnope response and expects XML. (see extractingRoles method)

      The client should sent the request for the XML content type. Something like this:
      get.setHeader("Content-Type", "application/xml");
      If Syncope sends JSON no roles could get processed.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              Christian Schmülling Christian Schmülling
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: