[ https://issues.apache.org/jira/browse/FELIX-4414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891860#comment-13891860 ]
Chetan Mehrotra commented on FELIX-4414: ---------------------------------------- The relamName is obtained from two sources # From Configuration based LogfinModule # From OSGi Service LoginModuleFactory based login modules For the #1 case the realmName was being checked for being empty [1]. For #2 no such check was done so did that [2]. Was your usecase for #2 or #1? [1] https://github.com/apache/felix/blob/trunk/jaas/src/main/java/org/apache/felix/jaas/internal/JaasConfigFactory.java#L110-110 [2] http://svn.apache.org/r1564643 > Empty string value in jaas.realm should also trigger default > ------------------------------------------------------------ > > Key: FELIX-4414 > URL: https://issues.apache.org/jira/browse/FELIX-4414 > Project: Felix > Issue Type: Improvement > Components: JAAS > Affects Versions: jaas-0.0.2 > Reporter: Tobias Bocanegra > Attachments: felix-4414-r1564563.patch > > > if the jaas.realm property is missing (==null) the default realm is used. but > if the property is an empty string, an empty-string realm is used, which is > not desired. especially when configuring factories via the felix web console > this happens quite often. -- This message was sent by Atlassian JIRA (v6.1.5#6160)