felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5505) ConfigSpiOSGi may miss out on registering some LoginModuleFactory due to race condition
Date Fri, 20 Jan 2017 10:27:26 GMT

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

Carsten Ziegeler commented on FELIX-5505:
-----------------------------------------

[~chetanm] Patch looks good to - it seems ConfigSpiOSGi is never unregistered, not sure if
that should be added (but it was never unregistered before this patch either)

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

Mime
View raw message