edu.isi.pegasus.common.credential.impl
public class Ssh extends Abstract implements CredentialHandler
CredentialHandler.TYPE
Modifier and Type | Field and Description |
---|---|
private static String |
DESCRIPTION
The description
|
static String |
SSH_PRIVATE_KEY_VARIABLE
The name of the environment variable that specifies the path to the
s3cfg file.
|
mLogger, mProps, mSiteStore
VERSION
Constructor and Description |
---|
Ssh()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseName()
returns the basename of the path to the local credential
|
String |
getDescription()
Returns the description for the implementing handler
|
String |
getEnvironmentVariable()
Returns the name of the environment variable that needs to be set
for the job associated with the credential.
|
String |
getPath(String site)
Returns the path to ssh private key.
|
getPath, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPath, initialize
public static final String SSH_PRIVATE_KEY_VARIABLE
private static final String DESCRIPTION
public String getPath(String site)
getPath
in interface CredentialHandler
site
- the site handlepublic String getBaseName()
getBaseName
in interface CredentialHandler
public String getEnvironmentVariable()
getEnvironmentVariable
in interface CredentialHandler
public String getDescription()
getDescription
in interface CredentialHandler