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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.2, 3.0.0
    • Component/s: karaf-core
    • Labels:
      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

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              chris@die-schneider.net Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: