public class Proxy extends Abstract implements CredentialHandler
CredentialHandler.TYPE
Modifier and Type | Field and Description |
---|---|
private static String |
DESCRIPTION
The description.
|
private String |
mLocalProxyPath
The local path to the user proxy
|
static String |
X509_USER_PROXY_KEY
The name of the environment variable that specifies the path to the
proxy.
|
private static String |
X509_USER_PROXY_PEGASUS_PROFILE_KEY |
mLogger, mProps, mSiteStore
VERSION
Constructor and Description |
---|
Proxy()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseName(String site)
returns the basename of the path to the local credential
|
String |
getDescription()
Returns the description for the implementing handler
|
String |
getEnvironmentVariable(String site)
Returns the name of the environment variable that needs to be set
for the job associated with the credential.
|
String |
getLocalPath()
Returns the path to user proxy on the local site.
|
String |
getPath(String site)
Returns the path to user proxy.
|
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, getSiteNameForEnvironmentKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPath
public static final String X509_USER_PROXY_KEY
private static final String X509_USER_PROXY_PEGASUS_PROFILE_KEY
private static final String DESCRIPTION
private String mLocalProxyPath
public void initialize(PegasusBag bag)
initialize
in interface CredentialHandler
initialize
in class Abstract
bag
- the bag of Pegasus objects.public String getPath(String site)
getPath
in interface CredentialHandler
site
- the site catalog entry object.public String getLocalPath()
site
- the site catalog entry object.public String getBaseName(String site)
getBaseName
in interface CredentialHandler
site
- the site handlepublic String getProfileKey()
getProfileKey
in interface CredentialHandler
public String getEnvironmentVariable(String site)
getEnvironmentVariable
in interface CredentialHandler
public String getDescription()
getDescription
in interface CredentialHandler