Julien Greffe created CXF-8699:
----------------------------------
Summary: Set sensitive filters on LoggingFeature instead of adding
Key: CXF-8699
URL: https://issues.apache.org/jira/browse/CXF-8699
Project: CXF
Issue Type: Improvement
Components: logging
Affects Versions: 3.4.7
Reporter: Julien Greffe
Hello,
class {{LoggingFeature}} has new methods to add sensitive filters on custom
LoggingFeature:
{code}
addSensitiveElementNames
addSensitiveProtocolHeaderNames
{code}
Currently, we can't configure the default LoggingFeature to filter sensitive
informations from scratch through configuration.
More, we can't change configuration to update filters and have them reflected
on default LoggingFeature.
Idea is to:
- add two methods
{code}
setSensitiveElementNames
setSensitiveProtocolHeaderNames
{code}
- add two configuration keys:
{code}
sensitiveElementNames
sensitiveProtocolHeaderNames
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)