Class KeyTarImpl
- java.lang.Object
-
- zowe.client.sdk.teamconfig.keytar.KeyTarImpl
-
-
Constructor Summary
Constructors Constructor Description KeyTarImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<KeyTarConfig>getKeyConfigs()Return keyString json value parsed into a KeyTarConfig object.StringgetKeyTarValue()Return keyString value after KeyTar has been fully processed.voidprocessKey()Retrieve the OS credential store by querying the OS with service and account name.voidsetAccountName(String accountName)Set required service name used for OS credential store queryingvoidsetServiceName(String serviceName)Set required account name used for OS credential store querying
-
-
-
Method Detail
-
getKeyConfigs
public List<KeyTarConfig> getKeyConfigs() throws TeamConfigException
Return keyString json value parsed into a KeyTarConfig object.- Specified by:
getKeyConfigsin interfaceIKeyTar- Returns:
- list of KeyTarConfig objects
- Throws:
TeamConfigException- error processing team configuration
-
getKeyTarValue
public String getKeyTarValue()
Return keyString value after KeyTar has been fully processed.- Specified by:
getKeyTarValuein interfaceIKeyTar- Returns:
- list of KeyTarConfig objects
-
processKey
public void processKey() throws TeamConfigExceptionRetrieve the OS credential store by querying the OS with service and account name. Assign the value to keyString.- Specified by:
processKeyin interfaceIKeyTar- Throws:
TeamConfigException- error processing team configuration
-
setAccountName
public void setAccountName(String accountName)
Description copied from interface:IKeyTarSet required service name used for OS credential store querying- Specified by:
setAccountNamein interfaceIKeyTar- Parameters:
accountName- string value used for OS credential store querying
-
setServiceName
public void setServiceName(String serviceName)
Description copied from interface:IKeyTarSet required account name used for OS credential store querying- Specified by:
setServiceNamein interfaceIKeyTar- Parameters:
serviceName- string value used for OS credential store querying
-
-