[
https://issues.apache.org/jira/browse/FELIX-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra resolved FELIX-5505.
------------------------------------
Resolution: Fixed
Thanks Carsten for the review
Took care of unregistering the spi in close
Applied the patch in 1779601
> 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
>
> Attachments: FELIX-5505-v1.patch
>
>
> {{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)