jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Mari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-3201) Use static references in SecurityProviderImpl for composite services
Date Mon, 10 Aug 2015 10:17:45 GMT
Francesco Mari created OAK-3201:
-----------------------------------

             Summary: Use static references in SecurityProviderImpl for composite services
                 Key: OAK-3201
                 URL: https://issues.apache.org/jira/browse/OAK-3201
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: security
            Reporter: Francesco Mari


{{SecurityProviderImpl}} has dynamic references to many other services, like {{RestrictionProvider}},
that represent the configuration of this component.

Being these services dynamic, the OSGi runtime has no clear dependency relationship between
the {{SecurityProviderImpl}} and the required services. Thus, it may happen that an instance
of {{SecurityProviderImpl}} is published before the services it requires are started, creating
a window where the {{SecurityProviderimpl}} is operating differently from the way it's configured.

I suggest to turn the dynamic references in {{SecurityProviderImpl}} to static ones to improve
the consistency of the implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message