org.gridbus.broker.farming.common.security
Class ProxyCredential
java.lang.Object
org.gridbus.broker.farming.common.security.UserCredential
org.gridbus.broker.farming.common.security.ProxyCredential
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LocalProxyCredential, MyProxyCredential
public class ProxyCredential
- extends UserCredential
- Author:
- krishna
- See Also:
- Serialized Form
|
Constructor Summary |
ProxyCredential()
Represents a credential that is a x.509 proxy certificates |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MYPROXY
public static final java.lang.String MYPROXY
- See Also:
- Constant Field Values
LOCAL
public static final java.lang.String LOCAL
- See Also:
- Constant Field Values
DEFAULT_PROXY_LIFETIME
public static final long DEFAULT_PROXY_LIFETIME
- The proxy life time is specified in seconds. 43200 sec = 12 hours is the default lifetime
- See Also:
- Constant Field Values
ProxyCredential
public ProxyCredential()
- Represents a credential that is a x.509 proxy certificates
getProxy
public org.ietf.jgss.GSSCredential getProxy()
- This method is used to return the current proxy.
If one hasnt been set, it will generate/retrieve the proxy certificate.
This may require generating a local proxy, getting from myproxy server, etc.
- Returns:
- Returns the proxy.
setProxy
public void setProxy(org.ietf.jgss.GSSCredential proxy)
- Parameters:
proxy - The proxy to set.
getProxySource
public java.lang.String getProxySource()
- Returns:
- Returns the proxySource.
setProxySource
public void setProxySource(java.lang.String proxySource)
- Parameters:
proxySource - The proxySource to set.
getProxyLifeTime
public long getProxyLifeTime()
- Returns:
- Returns the proxyLifeTime.
setProxyLifeTime
public void setProxyLifeTime(long proxyLifeTime)
- Parameters:
proxyLifeTime - The proxyLifeTime to set.