public class Proxy extends Abstract implements CredentialHandler
CredentialHandler.TYPE| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
DESCRIPTION
The description.
|
private java.lang.String |
mLocalProxyPath
The local path to the user proxy
|
static java.lang.String |
X509_USER_PROXY_KEY
The name of the environment variable that specifies the path to the
proxy.
|
private static java.lang.String |
X509_USER_PROXY_PEGASUS_PROFILE_KEY |
mLogger, mProps, mSiteStoreVERSION| Constructor and Description |
|---|
Proxy()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseName(java.lang.String site)
returns the basename of the path to the local credential
|
java.lang.String |
getDescription()
Returns the description for the implementing handler
|
java.lang.String |
getEnvironmentVariable(java.lang.String site)
Returns the name of the environment variable that needs to be set
for the job associated with the credential.
|
java.lang.String |
getLocalPath()
Returns the path to user proxy on the local site.
|
java.lang.String |
getPath(java.lang.String site)
Returns the path to user proxy.
|
java.lang.String |
getProfileKey()
Returns the env or pegasus profile key that needs to be associated
for the credential.
|
void |
initialize(PegasusBag bag)
Initializes the credential implementation.
|
getPath, getSiteNameForEnvironmentKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPathpublic static final java.lang.String X509_USER_PROXY_KEY
private static final java.lang.String X509_USER_PROXY_PEGASUS_PROFILE_KEY
private static final java.lang.String DESCRIPTION
private java.lang.String mLocalProxyPath
public void initialize(PegasusBag bag)
initialize in interface CredentialHandlerinitialize in class Abstractbag - the bag of Pegasus objects.public java.lang.String getPath(java.lang.String site)
getPath in interface CredentialHandlersite - the site catalog entry object.public java.lang.String getLocalPath()
site - the site catalog entry object.public java.lang.String getBaseName(java.lang.String site)
getBaseName in interface CredentialHandlersite - the site handlepublic java.lang.String getProfileKey()
getProfileKey in interface CredentialHandlerpublic java.lang.String getEnvironmentVariable(java.lang.String site)
getEnvironmentVariable in interface CredentialHandlerpublic java.lang.String getDescription()
getDescription in interface CredentialHandler