@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface PropertySanitizer
Sanitizer
interface to remove or replace any sensitive data.
The Sanitizer implementation has the option to provide a different value for each level of
Visibility
.
For example, if the raw value is an URL, the PUBLIC
sanitized value may just include the URL path. The
PROTECTED
value may retain the query string, and the PRIVATE
value may retain the scheme and
domain name of the server.
If a Sanitizer returns null
, no value will be available for that visibility.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |
public abstract java.lang.String value
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.