public class ConfigurationUtil extends Object
| Constructor and Description |
|---|
ConfigurationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getApplicationKey(org.json.simple.JSONObject clientConfigObject)
Get application key value that is set in dictionary, or a default value.
|
static String |
getApplicationName(org.json.simple.JSONObject clientConfigObject)
Get application name that is set in dictionary, or a default value.
|
static String |
getApplicationSecret(org.json.simple.JSONObject clientConfigObject)
Get application secret that is set in dictionary, or a default value.
|
static PublicKey |
getMasterKey(org.json.simple.JSONObject clientConfigObject,
StepLogger stepLogger)
Get master public key from the configuration object
|
public static String getApplicationKey(org.json.simple.JSONObject clientConfigObject)
clientConfigObject - Object with configuration.public static String getApplicationSecret(org.json.simple.JSONObject clientConfigObject)
clientConfigObject - Object with configuration.public static String getApplicationName(org.json.simple.JSONObject clientConfigObject)
clientConfigObject - Object with configuration.public static PublicKey getMasterKey(org.json.simple.JSONObject clientConfigObject, StepLogger stepLogger)
clientConfigObject - Object with configuration.stepLogger - Step logger instance.Copyright © 2016–2020 Wultra s.r.o.. All rights reserved.