Annotation Type PropertySanitizer
public @interface PropertySanitizer
PropertySanitizer is an annotation to be used in conjunction with a Property annotation to sanitize values containing
For example, if a Property contains an URL, user names, password, API keys etc, one can supply a or a custom class
Sanitizer interface to remove or replace any sensitive data.
The Sanitizer implementation has the option to provide a different value for each level of
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.
public abstract String value
Copyright © 2007-2014 Concurrent, Inc. All Rights Reserved.