karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2225) jaas PropertiesLoginModule does not complain when users.properties is not found but fails later
Date Mon, 11 Mar 2013 09:15:12 GMT

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

Christian Schneider commented on KARAF-2225:
--------------------------------------------

1454485 08.03.2013 19:28:07, by cschneider
KARAF-2225 Adding checks for null and not found cases for the user properties
M /karaf/branches/karaf-2.3.x
M /karaf/branches/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesLoginModule.java
A /karaf/branches/karaf-2.3.x/jaas/modules/src/test/java/org/apache/karaf/jaas/modules/properties/NamePasswordHandler.java
A /karaf/branches/karaf-2.3.x/jaas/modules/src/test/java/org/apache/karaf/jaas/modules/properties/PropertiesLoginModuleTest.java

                
> jaas PropertiesLoginModule does not complain when users.properties is not found but fails
later
> -----------------------------------------------------------------------------------------------
>
>                 Key: KARAF-2225
>                 URL: https://issues.apache.org/jira/browse/KARAF-2225
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.3.1
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 2.3.2, 3.0.0
>
>
> The felix Properties class we use does not throw an exception when a file is not found.
Instead an empty propeties file is returned. This will lead to problems later in the login
module.
> So I propose to check for existence of the users properties file and throw an exception
early if it is missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message