cascading.management.annotation
Annotation Type PropertySanitizer
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface PropertySanitizer
PropertySanitizer is an annotation to be used in conjunction with a Property annotation to sanitize values containing
sensitive information.
For example, if a Property contains an URL, user names, password, API keys etc, one can supply a or a custom class
implementing the 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.
value
public abstract String value
Copyright © 2007-2014 Concurrent, Inc. All Rights Reserved.