|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjlite.GridSessionConfig
public class GridSessionConfig
Custom configuration of the grid session.
Use it to override the default configuration locations and options
(refer to the user manual).
When instantiated it applies the default configuration, so you
can also use getter methods to check the default values.
Constructor Summary | |
---|---|
GridSessionConfig()
Applies the default configuration locations and options (refer to the user manual). |
Method Summary | |
---|---|
void |
addVOMSServer(org.glite.voms.contact.VOMSServerInfo voms)
Adds VOMS server configuration. |
void |
addWMProxy(java.lang.String vo,
java.lang.String wmProxyURL)
Adds the WMProxy service endpoint. |
java.lang.String |
getCertDir()
Returns the location of trusted certificates directory. |
java.lang.String |
getDelegationId()
Returns the delegation identifier for already delegated proxy. |
org.globus.gsi.GlobusCredential |
getProxy()
Returns the VOMS user proxy certificate. |
java.lang.String |
getProxyPath()
Returns the location of the VOMS user proxy certificate. |
java.lang.String |
getUserCertPath()
Returns the location of the user certificate file. |
org.globus.gsi.GlobusCredential |
getUserCredentials()
Returns user credentials. |
java.lang.String |
getUserKeyPass()
Returns the passphrase for the user private key. |
java.lang.String |
getUserKeyPath()
Returns the location of the user private key file. |
java.lang.String |
getVOMSCertDir()
Returns the location of the VOMS certificates directory. |
java.lang.String |
getVOMSDir()
Returns the location of VOMS configuration files. |
org.glite.voms.contact.VOMSServerMap |
getVOMSServers()
Returns all known VOMS servers. |
java.util.Map<java.lang.String,java.lang.String> |
getWMProxies()
Returns all known WMProxy service endpoints. |
java.lang.String |
getWMSDir()
Returns the location of WMProxy client configuration files (only if specified via setWMSDir()). |
void |
setCertDir(java.lang.String certDir)
Sets the location of trusted certificates directory. |
void |
setDelegationId(java.lang.String delegationId)
Sets the delegation identifier for already delegated proxy. |
void |
setProxy(org.globus.gsi.GlobusCredential proxy)
Sets the VOMS user proxy certificate. |
void |
setProxyPath(java.lang.String proxyPath)
Sets the location of the VOMS user proxy certificate. |
void |
setUserCertPath(java.lang.String userCertPath)
Sets the location of the user certificate file. |
void |
setUserCredentials(org.globus.gsi.GlobusCredential cred)
Sets user credentials. |
void |
setUserKeyPass(java.lang.String userKeyPass)
Sets the passphrase for the user private key. |
void |
setUserKeyPath(java.lang.String userKeyPath)
Sets the location of the user private key file. |
void |
setVOMSCertDir(java.lang.String vomsCertDir)
Sets the location of the VOMS certificates directory. |
void |
setVOMSDir(java.lang.String vomsDir)
Sets the location of VOMS configuration files. |
void |
setWMSDir(java.lang.String wmsDir)
Sets the location of WMProxy client configuration files (the parent directory with |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridSessionConfig()
Method Detail |
---|
public java.lang.String getCertDir()
public void setCertDir(java.lang.String certDir)
certDir
- trusted certificates directorypublic java.lang.String getVOMSDir()
public void setVOMSDir(java.lang.String vomsDir)
vomsDir
- location of VOMS configuration filespublic java.lang.String getVOMSCertDir()
public void setVOMSCertDir(java.lang.String vomsCertDir)
vomsCertDir
- location of the VOMS certificates directorypublic org.glite.voms.contact.VOMSServerMap getVOMSServers()
public void addVOMSServer(org.glite.voms.contact.VOMSServerInfo voms)
voms
- VOMS server configurationpublic java.lang.String getUserCertPath()
public void setUserCertPath(java.lang.String userCertPath)
userCertPath
- location of the user certificate filepublic java.lang.String getUserKeyPath()
public void setUserKeyPath(java.lang.String userKeyPath)
userKeyPath
- location of the user private key filepublic java.lang.String getUserKeyPass()
public void setUserKeyPass(java.lang.String userKeyPass)
userKeyPass
- passphrase for the user private keypublic java.lang.String getProxyPath()
public void setProxyPath(java.lang.String proxyPath)
proxyPath
- location of the VOMS user proxy certificatepublic java.lang.String getWMSDir()
public void setWMSDir(java.lang.String wmsDir)
wmsDir
- location of WMProxy client configuration filespublic java.util.Map<java.lang.String,java.lang.String> getWMProxies()
public void addWMProxy(java.lang.String vo, java.lang.String wmProxyURL)
vo
- VO namewmProxyURL
- WMProxy service URIpublic java.lang.String getDelegationId()
public void setDelegationId(java.lang.String delegationId)
delegationId
- delegation identifierpublic org.globus.gsi.GlobusCredential getUserCredentials()
public void setUserCredentials(org.globus.gsi.GlobusCredential cred)
cred
- user credentialspublic org.globus.gsi.GlobusCredential getProxy()
public void setProxy(org.globus.gsi.GlobusCredential proxy)
proxy
- VOMS user proxy certificate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |