org.glite.voms.contact
public class VOMSRequestOptions extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LIFETIME
The default lifetime value for voms requests is 86400 seconds.
|
Constructor and Description |
---|
VOMSRequestOptions() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final int DEFAULT_LIFETIME
setLifetime(int)
method.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()
Copyright © 2014. All Rights Reserved.