public abstract class Abstract extends java.lang.Object implements CredentialHandler
CredentialHandler.TYPE
Modifier and Type | Field and Description |
---|---|
protected LogManager |
mLogger
A handle to the logging object.
|
protected PegasusProperties |
mProps
The object holding all the properties pertaining to Pegasus.
|
protected SiteStore |
mSiteStore
The handle to the Site Catalog Store.
|
VERSION
Constructor and Description |
---|
Abstract()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
Returns the path to the credential on the submit host.
|
java.lang.String |
getSiteNameForEnvironmentKey(java.lang.String site)
Returns the site name sanitized for use in an environment variable.
|
void |
initialize(PegasusBag bag)
Initializes the credential implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseName, getDescription, getEnvironmentVariable, getPath, getProfileKey
protected PegasusProperties mProps
protected SiteStore mSiteStore
protected LogManager mLogger
public void initialize(PegasusBag bag)
initialize
in interface CredentialHandler
bag
- the bag of Pegasus objects.public java.lang.String getSiteNameForEnvironmentKey(java.lang.String site)
site
- the site name.public java.lang.String getPath()
getPath
in interface CredentialHandler