org.globus.ogsa.impl.base.cas.client
Class ClientParams
java.lang.Object
org.globus.ogsa.impl.base.cas.client.ClientParams
- public class ClientParams
- extends java.lang.Object
This class is used to define parameters for generating CAS
assertions.
|
Constructor Summary |
ClientParams()
By default, assertion lifetime is set to 24 hours,
default proxy file is used, the cas proxy is named with a .cas
tag at the end of proxy file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClientParams
public ClientParams()
- By default, assertion lifetime is set to 24 hours,
default proxy file is used, the cas proxy is named with a .cas
tag at the end of proxy file.
setAssertionLifetime
public void setAssertionLifetime(int assertionLifetime)
- Parameters:
assertionLifetime - Requested lifetime of the generated CAS assertion
setProxyFileName
public void setProxyFileName(java.lang.String proxyFilename)
- Parameters:
proxyFilename - Name of the file to get credential from.
setCasProxyFileName
public void setCasProxyFileName(java.lang.String casProxyFilename)
- Parameters:
casProxyFilename - Name of the file store proxy with CAS assertions.
setResourceActionsMap
public void setResourceActionsMap(ResourceActionsMap[] resActions)
setCasProxyTag
public void setCasProxyTag(java.lang.String tag)
- Parameters:
tag - Tag to append to proxy file name to generate file name
for proxy with CAS assertion. Used only if
casProxyFileName is null.
getAssertionLifetime
public int getAssertionLifetime()
getProxyFileName
public java.lang.String getProxyFileName()
getCasProxyTag
public java.lang.String getCasProxyTag()
getCasProxyFileName
public java.lang.String getCasProxyFileName()
getResourceActionsMap
public ResourceActionsMap[] getResourceActionsMap()
toString
public java.lang.String toString()