Ivo Studensky created WFLY-3849:
-----------------------------------
Summary: logging improvement to WFLYSEC0015 (vault security exception)
Key: WFLY-3849
URL:
https://issues.jboss.org/browse/WFLY-3849
Project: WildFly
Issue Type: Enhancement
Components: Security
Affects Versions: 9.0.0.Alpha1
Reporter: Ivo Studensky
Assignee: Ivo Studensky
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
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)