public class AuthenticationConfigUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
parseOptionalValueFromEnv(String envVariableName,
String sysPropName)
Parses an optional value from environmental variables or system properties.
|
static String |
parseRequiredValueFromEnv(String envVariableName,
String sysPropName)
Parses a value from environmental variables or system properties.
|
public static String parseRequiredValueFromEnv(String envVariableName, String sysPropName)
envVariableName - The name of the environmental variable to read from.sysPropName - The name of the system property to read from.SecretStoreException - if the value is not found for the provided environmental variable and system property.public static String parseOptionalValueFromEnv(String envVariableName, String sysPropName)
envVariableName - The name of the environmental variable to read from.sysPropName - The name of the system property to read from.Copyright © 2023 Atlassian. All rights reserved.