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

parseKeyStoreType crashes if type and wrap attributes not set

XMLWordPrintable

      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.

              rh-ee-jrodri Jessica Rodriguez
              rh-ee-jrodri Jessica Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: