Package org.apache.cxf.ext.logging
Class AttributeMaskingHelper
java.lang.Object
org.apache.cxf.ext.logging.MaskSensitiveHelper
org.apache.cxf.ext.logging.AttributeMaskingHelper
Adds XML/HTML attribute value masking on top of the parent MaskSensitiveHelper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSensitiveAttributeNames(Set<String> inSensitiveAttirbuteNames) Adds attribute names to be masked in XML/HTML logs (values replaced with "XXX").maskSensitiveElements(org.apache.cxf.message.Message message, String originalLogString) voidsetSensitiveAttributeNames(Set<String> inSensitiveAttributeNames) Optional convenience resetter if you want it.Methods inherited from class org.apache.cxf.ext.logging.MaskSensitiveHelper
addSensitiveElementNames, maskHeaders, setSensitiveElementNames
-
Constructor Details
-
AttributeMaskingHelper
public AttributeMaskingHelper()
-
-
Method Details
-
addSensitiveAttributeNames
Adds attribute names to be masked in XML/HTML logs (values replaced with "XXX"). -
setSensitiveAttributeNames
Optional convenience resetter if you want it. -
maskSensitiveElements
public String maskSensitiveElements(org.apache.cxf.message.Message message, String originalLogString) - Overrides:
maskSensitiveElementsin classMaskSensitiveHelper
-