|
|||||||||
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(java.lang.String FQAN)
Adds a FQAN to the list of requested FQANs. |
void |
addTarget(java.lang.String target)
Adds a target to the list of targets for this VOMSRequestOptions object. |
void |
doRequestList()
|
int |
getLifetime()
|
java.lang.String |
getOrdering()
|
java.util.List |
getRequestedFQANs()
|
java.util.List |
getTargets()
|
java.lang.String |
getTargetsAsString()
|
int |
getVerificationType()
|
java.lang.String |
getVoName()
|
boolean |
isRequestList()
|
void |
setLifetime(int lifetime)
Sets the lifetime for this VOMSRequestOptions object. |
void |
setOrdering(java.lang.String ordering)
Sets the ordering string of this VOMSRequestOptions object. |
void |
setRequestedFQANs(java.util.List requestedFQANs)
Sets the list of requested FQANs for this VOMSRequestOptions object. |
void |
setTargets(java.util.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(java.lang.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 java.lang.String getOrdering()
VOMSRequestOptions
object.public void setOrdering(java.lang.String ordering)
VOMSRequestOptions
object.
The ordering string is used to request a spefic order for the ACs requested
from the VOMS server.
ordering
- public java.util.List getRequestedFQANs()
VOMSRequestOptions
object.public void setRequestedFQANs(java.util.List requestedFQANs)
VOMSRequestOptions
object.
requestedFQANs
- public java.util.List getTargets()
VOMSRequestOptions
object.public java.lang.String getTargetsAsString()
VOMSRequestOptions
object as a string containing a a comma-separated list of host names.public void setTargets(java.util.List targets)
VOMSRequestOptions
object.
targets
- public int getVerificationType()
public void setVerificationType(int verificationType)
public java.lang.String getVoName()
public void setVoName(java.lang.String voName)
public void addFQAN(java.lang.String FQAN)
getRequestedFQANs()
.
FQAN
- public void addTarget(java.lang.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 |