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

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.MyProxyCredential
All Implemented Interfaces:
java.io.Serializable

public class MyProxyCredential
extends ProxyCredential

Author:
krishna Represents a ProxyCredential which is a proxy retrieved from a MyProxy server
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
MyProxyCredential()
           
MyProxyCredential(java.lang.String host, int port, java.lang.String username, java.lang.String password)
           
 
Method Summary
 java.lang.String getMyProxyServerHostname()
           
 int getMyProxyServerPort()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 void setMyProxyServerHostname(java.lang.String myProxyServerHostname)
           
 void setMyProxyServerPort(int myProxyServerPort)
           
 void setPassword(java.lang.String password)
           
 void setUsername(java.lang.String username)
           
 
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

MyProxyCredential

public MyProxyCredential()

MyProxyCredential

public MyProxyCredential(java.lang.String host,
                         int port,
                         java.lang.String username,
                         java.lang.String password)
Parameters:
host -
port -
username -
password -
Method Detail

getMyProxyServerHostname

public java.lang.String getMyProxyServerHostname()
Returns:
Returns the myProxyServerHostname.

setMyProxyServerHostname

public void setMyProxyServerHostname(java.lang.String myProxyServerHostname)
Parameters:
myProxyServerHostname - The myProxyServerHostname to set.

getMyProxyServerPort

public int getMyProxyServerPort()
Returns:
Returns the myProxyServerPort.

setMyProxyServerPort

public void setMyProxyServerPort(int myProxyServerPort)
Parameters:
myProxyServerPort - The myProxyServerPort to set.

getPassword

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

setPassword

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

getUsername

public java.lang.String getUsername()
Returns:
Returns the username.

setUsername

public void setUsername(java.lang.String username)
Parameters:
username - The username to set.