public class GSISecurityContext extends AbstractSecurityContext
| Modifier and Type | Field and Description |
|---|---|
static int |
CREDENTIAL_RENEWING_THRESH_HOLD |
static String |
GSI_SECURITY_CONTEXT |
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
GSISecurityContext(Cluster pbsCluster) |
GSISecurityContext(CredentialReader credentialReader,
RequestData requestData) |
| Modifier and Type | Method and Description |
|---|---|
GSSCredential |
getCredentialsFromStore()
Reads the credentials from credential store.
|
GSSCredential |
getDefaultCredentials()
Gets the default proxy certificate.
|
GSSCredential |
getGssCredentials()
Gets GSSCredentials.
|
Cluster |
getPbsCluster() |
GSSCredential |
getProxyCredentials()
Gets a new proxy certificate given current credentials.
|
static String |
getTrustedCertificatePath()
Gets the trusted certificate path.
|
GSSCredential |
renewCredentials()
Renews credentials.
|
GSSCredential |
renewCredentialsAsATrustedHost()
Renew GSSCredentials.
|
void |
setPbsCluster(Cluster pbsCluster) |
static void |
setUpTrustedCertificatePath(String trustedCertificatePath) |
getCredentialReader, getRequestDataprotected static final org.slf4j.Logger log
public static final String GSI_SECURITY_CONTEXT
public static int CREDENTIAL_RENEWING_THRESH_HOLD
public GSISecurityContext(CredentialReader credentialReader, RequestData requestData)
public GSISecurityContext(Cluster pbsCluster)
public static void setUpTrustedCertificatePath(String trustedCertificatePath)
public static String getTrustedCertificatePath()
public GSSCredential getGssCredentials() throws GFacException, org.apache.airavata.common.exception.ApplicationSettingsException
GFacException - If an error occurred while creating credentials.org.apache.airavata.common.exception.ApplicationSettingsExceptionpublic GSSCredential renewCredentials() throws GFacException, org.apache.airavata.common.exception.ApplicationSettingsException
GFacException - If an error occurred while renewing credentials.org.apache.airavata.common.exception.ApplicationSettingsExceptionpublic GSSCredential getCredentialsFromStore() throws Exception
Exception - If an error occurred while retrieving credentials.public GSSCredential getDefaultCredentials() throws GFacException, org.apache.airavata.common.exception.ApplicationSettingsException
GFacException - If an error occurred while retrieving credentials.org.apache.airavata.common.exception.ApplicationSettingsExceptionpublic GSSCredential getProxyCredentials() throws GFacException, org.apache.airavata.common.exception.ApplicationSettingsException
GFacException - If an error is occurred while retrieving credentials.org.apache.airavata.common.exception.ApplicationSettingsExceptionpublic GSSCredential renewCredentialsAsATrustedHost() throws GFacException, org.apache.airavata.common.exception.ApplicationSettingsException
GFacException - If an error occurred while renewing credentials.org.apache.airavata.common.exception.ApplicationSettingsExceptionpublic Cluster getPbsCluster()
public void setPbsCluster(Cluster pbsCluster)
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.