You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/01 08:31:39 UTC

[jira] [Commented] (KARAF-4293) SycnopeLoginModule could potentialy receive wrong message format

    [ https://issues.apache.org/jira/browse/KARAF-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125884#comment-15125884 ] 

ASF subversion and git services commented on KARAF-4293:
--------------------------------------------------------

Commit 6c55a3d6ace94762df0e2346ade8c66b941243c0 in karaf's branch refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=6c55a3d ]

KARAF-4293 - Set content-type header in Syncope login module


> SycnopeLoginModule could potentialy receive wrong message format
> ----------------------------------------------------------------
>
>                 Key: KARAF-4293
>                 URL: https://issues.apache.org/jira/browse/KARAF-4293
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-security
>    Affects Versions: 2.3.9, 4.0.3
>            Reporter: Christian Schmülling
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.1.0, 3.0.6, 4.0.5
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)