You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/01/20 09:16:26 UTC

[jira] [Created] (FELIX-5505) ConfigSpiOSGi may miss out on registering some LoginModuleFactory due to race condition

Chetan Mehrotra created FELIX-5505:
--------------------------------------

             Summary: ConfigSpiOSGi may miss out on registering some LoginModuleFactory due to race condition
                 Key: FELIX-5505
                 URL: https://issues.apache.org/jira/browse/FELIX-5505
             Project: Felix
          Issue Type: Bug
          Components: JAAS
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
            Priority: Critical
             Fix For: jaas-1.0.0


{{ConfigSpiOsgi}} currently looks for {{LoginModuleFactory}} and upon registration of any factory it recreates its {{Realm}} state. 

This logic has a race condition where concurrent addition of {{LoginModuleFactory}} may lead to some of them getting missed from getting registered in the Realm



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