Class KeyTarConfig
- java.lang.Object
-
- zowe.client.sdk.teamconfig.keytar.KeyTarConfig
-
public class KeyTarConfig extends Object
KeyTarConfig POJO to act as a container for a parsed Keytar json object- Version:
- 1.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description KeyTarConfig(String location, String userName, String password)
KeyTarConfig constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocation()
Return locationString
getPassword()
Return passwordString
getUserName()
Return userNameString
toString()
-
-
-
Constructor Detail
-
KeyTarConfig
public KeyTarConfig(String location, String userName, String password)
KeyTarConfig constructor.- Parameters:
location
- location of the Zowe Global Team Configuration filename and pathuserName
- userName specified from parsed KeyTar keyValuepassword
- password specified from parsed KeyTar keyValue
-
-
Method Detail
-
getLocation
public String getLocation()
Return location- Returns:
- location string value of zowe configuration filename and path
-
getPassword
public String getPassword()
Return password- Returns:
- password string value from OS credential store
-
getUserName
public String getUserName()
Return userName- Returns:
- userName string value from OS credential store
-
-