Class GetParams
java.lang.Object
org.globus.myproxy.Params
org.globus.myproxy.GetParams
- All Implemented Interfaces:
MyProxyConstants
Holds the parameters for the
get operation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate GSSCredentialprivate Stringprivate Listprivate Listprivate booleanFields inherited from class Params
lifetime, passphrase, usernameFields inherited from interface MyProxyConstants
COMMAND, CRED_DESC, CRED_NAME, CRED_RETRIEVER_TRUSTED, CRLF, DEFAULT_LIFETIME, LIFETIME, MIN_PASSWORD_LENGTH, MYPROXY_PROTOCOL_VERSION, NEW_PHRASE, PASSPHRASE, RENEWER, RETRIEVER, TRUSTROOTS, USERNAME, VERSION, VOMSES, VONAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidadd(StringBuffer buf, String prefix, List values) booleanprotected StringmakeRequest(boolean includePassword) Serializes the parameters into a MyProxy request.voidsetAuthzCreds(GSSCredential creds) Set credentials for renewal authorization.voidsetCredentialName(String credentialName) voidvoidvoidsetWantTrustroots(boolean wantTrustroots) Methods inherited from class Params
add, checkPassphrase, getLifetime, getPassphrase, getUserName, makeRequest, setCommand, setLifetime, setPassphrase, setUserName, toString
-
Field Details
-
wantTrustroots
private boolean wantTrustroots -
credentialName
-
authzcreds
-
voname
-
vomses
-
-
Constructor Details
-
GetParams
public GetParams() -
GetParams
-
-
Method Details
-
setCredentialName
-
getCredentialName
-
setWantTrustroots
public void setWantTrustroots(boolean wantTrustroots) -
getWantTrustroots
public boolean getWantTrustroots() -
setVoname
-
getVoname
-
setVomses
-
getVomses
-
setAuthzCreds
Set credentials for renewal authorization.- Parameters:
creds- The credentials to renew.
-
getAuthzCreds
-
makeRequest
Description copied from class:ParamsSerializes the parameters into a MyProxy request. Subclasses should overwrite this function and append the custom parameters to the output of this function.- Overrides:
makeRequestin classParams
-
add
-