@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface PropertyRegexSanitizer
For example, if a Property contains an URL, user names, password, API keys etc, one can supply a regular expression (regex) to remove the sensitive parts.
Unlike the PropertySanitizer
annotation, the regular expression is applied
once and the result is stored as the value for the declared Visibility
for the property. See PropertySanitizer if different values should be returned for each Visibility type.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |
public abstract java.lang.String value
Copyright © 2007-2017 Cascading Maintainers. All Rights Reserved.