You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2025/07/03 05:27:00 UTC
[jira] [Updated] (KARAF-6158) SecurityContext returns RolePrincipal instead of UserPrincipal in JAX-RS
[ https://issues.apache.org/jira/browse/KARAF-6158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-6158:
----------------------------------------
Fix Version/s: (was: 4.4.8)
Target Version/s: 4.5.0, 4.4.8
> SecurityContext returns RolePrincipal instead of UserPrincipal in JAX-RS
> ------------------------------------------------------------------------
>
> Key: KARAF-6158
> URL: https://issues.apache.org/jira/browse/KARAF-6158
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.1.5
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> 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
(v8.20.10#820010)