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:39:27 UTC

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

    [ https://issues.apache.org/jira/browse/FELIX-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831462#comment-15831462 ] 

Chetan Mehrotra commented on FELIX-5505:
----------------------------------------

Added ignored test with 1779592

> 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)