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 a 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 the account name.voidsetServiceName(String serviceName)Set the service name.
-
-
-
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 a 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)
Set the account name.- Specified by:
setAccountNamein interfaceIKeyTar- Parameters:
accountName- string value used for OS credential store querying
-
setServiceName
public void setServiceName(String serviceName)
Set the service name.- Specified by:
setServiceNamein interfaceIKeyTar- Parameters:
serviceName- string value used for OS credential store querying
-
-