[
https://issues.apache.org/jira/browse/KARAF-6156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Pavlovich updated KARAF-6156:
----------------------------------
Description:
JAASHelper prevents extension of Karaf's JAAS Principal classes [User,
Group,Role]Principal by doing a class.getName().equals(..). This change
replaces it with a class.isAssignableFrom( .. ) comparison to allow for JAAS
providers to extend the Karaf Principal classes.
Supporting this provides extended feature, and provides a work-around for
mis-behaving JAAS and SecurityContext implementations.
Specifically, as observed in KARAF-6158
was:JAASHelper prevents extension of Karaf's JAAS Principal classes [User,
Group,Role]Principal by doing a class.getName().equals(..). This change
replaces it with a class.isAssignableFrom( .. ) comparison to allow for JAAS
providers to extend the Karaf Principal classes
> Support extending Karaf JAAS Principal classes
> ----------------------------------------------
>
> 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
>
>
> JAASHelper prevents extension of Karaf's JAAS Principal classes [User,
> Group,Role]Principal by doing a class.getName().equals(..). This change
> replaces it with a class.isAssignableFrom( .. ) comparison to allow for JAAS
> providers to extend the Karaf Principal classes.
> Supporting this provides extended feature, and provides a work-around for
> mis-behaving JAAS and SecurityContext implementations.
> Specifically, as observed in KARAF-6158
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)