Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3849

logging improvement to WFLYSEC0015 (vault security exception)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 9.0.0.Alpha1
    • Security
    • None

      Description of problem (taken from bz1073603):
      Include which vault property resolution has failed in following error message:

      java.lang.SecurityException: JBAS013311: Security Exception
      at org.jboss.as.security.vault.RuntimeVaultReader.retrieveFromVault(RuntimeVaultReader.java:104)

      For example, this would be helpful:
      java.lang.SecurityException: JBAS013311: Security Exception (Error resolving vault property: ${VAULT:example:example:1}

      How reproducible:
      Using a vault property that doesn't exist will give this error message.

      Steps to Reproduce:
      1. setup vault as normal
      2. use a vault property that doesn't exist

      Actual results:
      Get:
      java.lang.SecurityException: JBAS013311: Security Exception
      at org.jboss.as.security.vault.RuntimeVaultReader.retrieveFromVault(RuntimeVaultReader.java:104)

      Expected results:
      log message that show the property that failed

            istudens@redhat.com Ivo Studensky
            istudens@redhat.com Ivo Studensky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: