|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.voms.contact.VOMSRequestOptions
public class VOMSRequestOptions
This class represents options that constitute VOMS requests.
Field Summary | |
---|---|
static int |
DEFAULT_LIFETIME
The default lifetime value for voms requests is 86400 seconds. |
Constructor Summary | |
---|---|
VOMSRequestOptions()
|
Method Summary | |
---|---|
void |
addFQAN(String FQAN)
Adds a FQAN to the list of requested FQANs. |
void |
addTarget(String target)
Adds a target to the list of targets for this VOMSRequestOptions object. |
void |
doRequestList()
|
int |
getLifetime()
|
String |
getOrdering()
|
List |
getRequestedFQANs()
|
List |
getTargets()
|
String |
getTargetsAsString()
|
int |
getVerificationType()
|
String |
getVoName()
|
boolean |
isRequestList()
|
void |
setLifetime(int lifetime)
Sets the lifetime for this VOMSRequestOptions object. |
void |
setOrdering(String ordering)
Sets the ordering string of this VOMSRequestOptions object. |
void |
setRequestedFQANs(List requestedFQANs)
Sets the list of requested FQANs for this VOMSRequestOptions object. |
void |
setTargets(List targets)
Sets the list of targets (i.e., host where the requested ACs will be valid) for this VOMSRequestOptions object. |
void |
setVerificationType(int verificationType)
|
void |
setVoName(String voName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_LIFETIME
setLifetime(int)
method.
Constructor Detail |
---|
public VOMSRequestOptions()
Method Detail |
---|
public int getLifetime()
VOMSRequestOptions
object.public void setLifetime(int lifetime)
VOMSRequestOptions
object.
lifetime
- public String getOrdering()
VOMSRequestOptions
object.public void setOrdering(String ordering)
VOMSRequestOptions
object.
The ordering string is used to request a spefic order for the ACs requested
from the VOMS server.
ordering
- public List getRequestedFQANs()
VOMSRequestOptions
object.public void setRequestedFQANs(List requestedFQANs)
VOMSRequestOptions
object.
requestedFQANs
- public List getTargets()
VOMSRequestOptions
object.public String getTargetsAsString()
VOMSRequestOptions
object as a string containing a a comma-separated list of host names.public void setTargets(List targets)
VOMSRequestOptions
object.
targets
- public int getVerificationType()
public void setVerificationType(int verificationType)
public String getVoName()
public void setVoName(String voName)
public void addFQAN(String FQAN)
getRequestedFQANs()
.
FQAN
- public void addTarget(String target)
VOMSRequestOptions
object. See getTargets()
.
target
- public void doRequestList()
public boolean isRequestList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |