public final class CredentialGetter extends Object
| Modifier | Constructor and Description |
|---|---|
private |
CredentialGetter()
Unreachable constructor for static utility class.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getSecretValue(String pathToCredParm)
Extracts automate key from credential file.
|
static String |
getUserName(String pathToCredParm)
Extracts user name from credential file.
|
private static String |
getValue(String keyParam,
String pathParam)
Extracts value from credential file based on key provided.
|
private CredentialGetter()
private static String getValue(String keyParam, String pathParam)
keyParam - - key with which to retrieve valuepathParam - - path to credential filepublic static String getUserName(String pathToCredParm)
pathToCredParm - path to credential fileCopyright © 2018. All rights reserved.