public class PasswordUtils
extends java.lang.Object
JobDefinition
s and
StreamDefinition
s (BaseDefinition
), e.g. the masking
of passwords in definition parameters.Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
passwordParameterPattern |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
maskPasswordsInDefinition(java.lang.String definition)
This method takes a definition String as input parameter.
|
public static java.util.regex.Pattern passwordParameterPattern
public static java.lang.String maskPasswordsInDefinition(java.lang.String definition)
--password
and will masked them
using the *
character.definition
- Must not be empty