Package org.globus.myproxy
Class GetParams
- java.lang.Object
-
- org.globus.myproxy.Params
-
- org.globus.myproxy.GetParams
-
- All Implemented Interfaces:
MyProxyConstants
public class GetParams extends Params
Holds the parameters for thegetoperation.
-
-
Field Summary
-
Fields inherited from class org.globus.myproxy.Params
lifetime, passphrase, username
-
Fields inherited from interface org.globus.myproxy.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.ietf.jgss.GSSCredentialgetAuthzCreds()java.lang.StringgetCredentialName()java.util.ListgetVomses()java.util.ListgetVoname()booleangetWantTrustroots()protected java.lang.StringmakeRequest(boolean includePassword)Serializes the parameters into a MyProxy request.voidsetAuthzCreds(org.ietf.jgss.GSSCredential creds)Set credentials for renewal authorization.voidsetCredentialName(java.lang.String credentialName)voidsetVomses(java.util.List vomses)voidsetVoname(java.util.List voname)voidsetWantTrustroots(boolean wantTrustroots)-
Methods inherited from class org.globus.myproxy.Params
add, checkPassphrase, getLifetime, getPassphrase, getUserName, makeRequest, setCommand, setLifetime, setPassphrase, setUserName, toString
-
-
-
-
Method Detail
-
setCredentialName
public void setCredentialName(java.lang.String credentialName)
-
getCredentialName
public java.lang.String getCredentialName()
-
setWantTrustroots
public void setWantTrustroots(boolean wantTrustroots)
-
getWantTrustroots
public boolean getWantTrustroots()
-
setVoname
public void setVoname(java.util.List voname)
-
getVoname
public java.util.List getVoname()
-
setVomses
public void setVomses(java.util.List vomses)
-
getVomses
public java.util.List getVomses()
-
setAuthzCreds
public void setAuthzCreds(org.ietf.jgss.GSSCredential creds)
Set credentials for renewal authorization.- Parameters:
creds- The credentials to renew.
-
getAuthzCreds
public org.ietf.jgss.GSSCredential getAuthzCreds()
-
makeRequest
protected java.lang.String makeRequest(boolean includePassword)
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
-
-