public class SensitiveCredentialProcessor
extends java.lang.Object
| Constructor and Description |
|---|
SensitiveCredentialProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Properties |
extractSensitiveCredentials(Element metadata)
Extract sensitive information indicated in the "readableNameMap" from the metadata and put them in the Properties.
|
static void |
restoreSensitiveCredentials(Element metadata, java.util.Properties credentials)
Replaced the matching attribute in the metadata with the real value contained in the credentials.
|
public static java.util.Properties extractSensitiveCredentials(Element metadata)
metadata -public static void restoreSensitiveCredentials(Element metadata, java.util.Properties credentials)
metadata -credentials -