|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.common.security.UserCredential
org.gridbus.broker.common.security.ProxyCredential
public abstract class ProxyCredential
| Field Summary | |
|---|---|
static int |
DEFAULT_MIN_PROXY_LIFETIME
Minimum proxy life-time, in seconds. |
static int |
DEFAULT_PROXY_LIFETIME
The proxy life time is specified in seconds. |
static java.lang.String |
LOCAL
|
static java.lang.String |
MYPROXY
|
| Constructor Summary | |
|---|---|
ProxyCredential()
Represents a credential that is a x.509 proxy certificate |
|
| Method Summary | |
|---|---|
long |
getMinProxyLifeTime()
Returns the minimum lifetime below which the proxy will be re-generated. |
org.ietf.jgss.GSSCredential |
getProxy()
This method is used to return the current proxy. |
java.lang.String |
getProxyFileLocation()
|
long |
getProxyLifeTime()
|
int |
getType()
|
void |
refreshProxy()
Refreshes a proxy if the remaining life-time is less than the set minimum proxy lifetime value. |
void |
saveToFile(java.lang.String filename)
|
void |
setMinProxyLifeTime(long minProxyLifeTime)
Sets the minimum lifetime below which the proxy will be re-generated. |
void |
setProxy(org.ietf.jgss.GSSCredential proxy)
|
void |
setProxyFileLocation(java.lang.String savedProxyFile)
|
| Methods inherited from class org.gridbus.broker.common.security.UserCredential |
|---|
getId, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MYPROXY
public static final java.lang.String LOCAL
public static final int DEFAULT_PROXY_LIFETIME
public static final int DEFAULT_MIN_PROXY_LIFETIME
| Constructor Detail |
|---|
public ProxyCredential()
| Method Detail |
|---|
public org.ietf.jgss.GSSCredential getProxy()
public void setProxy(org.ietf.jgss.GSSCredential proxy)
proxy - The proxy to set.public long getProxyLifeTime()
public void saveToFile(java.lang.String filename)
throws java.lang.Exception
filename -
java.lang.Exceptionpublic void refreshProxy()
public long getMinProxyLifeTime()
public void setMinProxyLifeTime(long minProxyLifeTime)
minProxyLifeTime - public int getType()
getType in class UserCredentialpublic java.lang.String getProxyFileLocation()
public void setProxyFileLocation(java.lang.String savedProxyFile)
|
Copyright © The University of Melbourne. 2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||