[
https://issues.apache.org/jira/browse/KARAF-6156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768309#comment-16768309
]
ASF subversion and git services commented on KARAF-6156:
--------------------------------------------------------
Commit ef93cd77cf18d085eff72d5d26ff474c7e3e330f in karaf's branch
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=ef93cd7 ]
Merge pull request #766 from mattrpav/KARAF-6156-43x
[KARAF-6156] Update JaasHelper to support extending Karaf JAAS (4.3.x)
> SecurityContext returns RolePrincipal instead of UserPrincipal
> --------------------------------------------------------------
>
> Key: KARAF-6156
> URL: https://issues.apache.org/jira/browse/KARAF-6156
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.1.6
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.3.0, 4.1.8, 4.2.4
>
>
> The SecurityContext in a CXFJAX-RS service is ~75% of the time returning a
> RolePrincipal instead of UserPrincipal.
> * Custom JAAS provider
> * Only one JAAS provider
> * Realm named 'karaf'
> Seems like same issue posted to karaf-users mailinglist [Nabble
> link|http://karaf.922171.n3.nabble.com/securityContext-getUserPrincipal-in-JAX-RS-return-unexpected-RolePrincipal-Why-tt4053628.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)