Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2225

jaas PropertiesLoginModule does not complain when users.properties is not found but fails later

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2, 3.0.0
    • karaf
    • None

    Description

      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.

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: