You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2017/01/03 18:26:58 UTC

[jira] [Created] (KARAF-4917) Support dynamicaliy registered configurations in RBAC

Zoran Regvart created KARAF-4917:
------------------------------------

             Summary: 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
            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] [UUID|https://github.com/apache/felix/blob/trunk/configadmin/src/main/java/org/apache/felix/cm/impl/ConfigurationManager.java#L1093-L1137] 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
(v6.3.4#6332)