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

SyncopeLoginModule could potentialy receive wrong message format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.9, 4.0.3
    • 4.1.0, 3.0.6, 4.0.5
    • karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: