org.gridbus.broker.farming.common.security
Class LocalProxyCredential

java.lang.Object
  extended by org.gridbus.broker.farming.common.security.UserCredential
      extended by org.gridbus.broker.farming.common.security.ProxyCredential
          extended by org.gridbus.broker.farming.common.security.LocalProxyCredential
All Implemented Interfaces:
java.io.Serializable

public class LocalProxyCredential
extends ProxyCredential

Author:
krishna Represents a ProxyCredential which is a proxy generated from local usercert, userkey files
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gridbus.broker.farming.common.security.ProxyCredential
DEFAULT_PROXY_LIFETIME, LOCAL, MYPROXY
 
Fields inherited from class org.gridbus.broker.farming.common.security.UserCredential
COMPOSITE, KEYSTORE, PROXYCERT, SIMPLE_AUTH
 
Constructor Summary
LocalProxyCredential()
           
LocalProxyCredential(java.lang.String usercertfile, java.lang.String userkeyfile, java.lang.String password)
           
 
Method Summary
 boolean forceNewProxy()
           
 java.lang.String getPassword()
           
 java.lang.String getSavedProxyFile()
           
 java.lang.String getUsercertfile()
           
 java.lang.String getUserkeyfile()
           
 boolean isForceNewProxy()
           
 boolean isSavingProxy()
           
 void setForceNewProxy(boolean forceNewProxy)
          Sets whether to force creation of new proxy each time
 void setPassword(java.lang.String password)
           
 void setSavedProxyFile(java.lang.String savedProxyFile)
           
 void setSaveProxy(boolean saveProxy)
           
 void setUsercertfile(java.lang.String usercertfile)
           
 void setUserkeyfile(java.lang.String userkeyfile)
           
 
Methods inherited from class org.gridbus.broker.farming.common.security.ProxyCredential
getProxy, getProxyLifeTime, getProxySource, setProxy, setProxyLifeTime, setProxySource
 
Methods inherited from class org.gridbus.broker.farming.common.security.UserCredential
getId, getType, setId, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalProxyCredential

public LocalProxyCredential()

LocalProxyCredential

public LocalProxyCredential(java.lang.String usercertfile,
                            java.lang.String userkeyfile,
                            java.lang.String password)
Parameters:
usercertfile -
userkeyfile -
password -
Method Detail

getSavedProxyFile

public java.lang.String getSavedProxyFile()
Returns:
Returns the savedProxyFile.

setSavedProxyFile

public void setSavedProxyFile(java.lang.String savedProxyFile)
Parameters:
savedProxyFile - The savedProxyFile to set.

isSavingProxy

public boolean isSavingProxy()
Returns:
Returns the saveProxy.

setSaveProxy

public void setSaveProxy(boolean saveProxy)
Parameters:
saveProxy - The saveProxy to set.

isForceNewProxy

public boolean isForceNewProxy()
Returns:
Returns the forceNewProxy.

getPassword

public java.lang.String getPassword()
Returns:
Returns the password.

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - The password to set.

getUsercertfile

public java.lang.String getUsercertfile()
Returns:
Returns the usercertfile.

setUsercertfile

public void setUsercertfile(java.lang.String usercertfile)
Parameters:
usercertfile - The usercertfile to set.

getUserkeyfile

public java.lang.String getUserkeyfile()
Returns:
Returns the userkeyfile.

setUserkeyfile

public void setUserkeyfile(java.lang.String userkeyfile)
Parameters:
userkeyfile - The userkeyfile to set.

forceNewProxy

public boolean forceNewProxy()
Returns:
Returns whether to force a New Proxy each time.

setForceNewProxy

public void setForceNewProxy(boolean forceNewProxy)
Sets whether to force creation of new proxy each time

Parameters:
forceNewProxy -