karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4917) Support dynamicaliy registered configurations in RBAC
Date Wed, 04 Jan 2017 07:02:58 GMT

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

Zoran Regvart commented on KARAF-4917:

Hi [~ffang],
thanks for that, {{createFactoryConfiguration}} was the first method auto-complete suggested
:) I can use that for my use case. Not sure if anyone out there needs to use {{createFactoryConfiguration}}
and the patch is beneficial to them?

Thank you :)


> Support dynamicaliy registered configurations in RBAC
> -----------------------------------------------------
>                 Key: KARAF-4917
>                 URL: https://issues.apache.org/jira/browse/KARAF-4917
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-security
>    Affects Versions: 4.1.0
>            Reporter: Zoran Regvart
>            Assignee: Freeman Fang
>            Priority: Minor
> When adding configuration at runtime through {{ConfigurationAdmin#createFactoryConfiguration}}
Apache Felix appends [random|https://github.com/apache/felix/blob/trunk/configadmin/src/main/java/org/apache/felix/cm/impl/ConfigurationManager.java#L397-L400]
to the Configuration PID.
> In order for those to be considered by {{getRequiredRoles}} that random UUID needs to
be removed in comparison performed by {{getGeneralPid}}.

This message was sent by Atlassian JIRA

View raw message