org.globus.ogsa.impl.base.cas.client
Class ClientParams

java.lang.Object
  extended byorg.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.
 
Method Summary
 int getAssertionLifetime()
           
 java.lang.String getCasProxyFileName()
           
 java.lang.String getCasProxyTag()
           
 java.lang.String getProxyFileName()
           
 ResourceActionsMap[] getResourceActionsMap()
           
 void setAssertionLifetime(int assertionLifetime)
           
 void setCasProxyFileName(java.lang.String casProxyFilename)
           
 void setCasProxyTag(java.lang.String tag)
           
 void setProxyFileName(java.lang.String proxyFilename)
           
 void setResourceActionsMap(ResourceActionsMap[] resActions)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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()