Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2347

parseKeyStoreType crashes if type and wrap attributes not set

    XMLWordPrintable

Details

    Description

      If both of the optional type and write attributes of a key store are not set in the configuration, parseKeyStoreType() raises a NullPointerException due to wrap being initialized as null, and then being checked in an if statement.

      The attached PR also fixes an issue where the KeyStore type detection code would not close a FileInputStream if it was successful.

      Attachments

        Activity

          People

            rh-ee-carodrig Cameron Rodriguez (Inactive)
            rh-ee-carodrig Cameron Rodriguez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: