public class PasswordDecodeMetadataFilter extends PasswordMetadataFilter
Note that keys that do not match will still be returned; just that keys that do match PasswordMetadataFilter.getPasswordPatterns()
will have
Password.decode(String)
applied to the values. Please note that a new MetadataElement
is created as a result of
the encode/deocde process, so any changes may not be reflected in the original message.
In the adapter configuration file this class is aliased as password-decoder-metadata-filter which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
PasswordDecodeMetadataFilter() |
Modifier and Type | Method and Description |
---|---|
protected MetadataElement |
handlePassword(MetadataElement element) |
filter, getPasswordPatterns, setPasswordPatterns, withPatterns, wrapException
filter, filter
protected MetadataElement handlePassword(MetadataElement element) throws PasswordException
handlePassword
in class PasswordMetadataFilter
PasswordException