felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-5536) ConfigSpiOSGi may end with in complete realm due to race conditions
Date Fri, 10 Feb 2017 18:40:42 GMT
Chetan Mehrotra created FELIX-5536:
--------------------------------------

             Summary: ConfigSpiOSGi may end with in complete realm due to race conditions
                 Key: FELIX-5536
                 URL: https://issues.apache.org/jira/browse/FELIX-5536
             Project: Felix
          Issue Type: Bug
          Components: JAAS
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
             Fix For: jaas-1.0.2


Some race conditions around this have been fixed with FELIX-5505. However one more case surfaced
where {{ConfigSpiOsgi#recreateConfigs}} can be invoked concurrently without lock from 

# {{ConfigSpiOsgi#updated}} - When ConfigurationAdmin dispatches config update for {{org.apache.felix.jaas.ConfigurationSpi}}
# {{ConfigSpiOsgi#addingService}} - When some LoginModuleFactory is registered

In such a case the setup may end up with incomplete realm where some LoginModuleFactory are
missed out



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message