public class VOMSRequestOptions extends 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(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) |
public static final int DEFAULT_LIFETIME
setLifetime(int) method.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()
Copyright © 2014. All rights reserved.