Package org.globus.myproxy
Class InitParams
- java.lang.Object
-
- org.globus.myproxy.Params
-
- org.globus.myproxy.InitParams
-
- All Implemented Interfaces:
MyProxyConstants
- Direct Known Subclasses:
StoreParams
public class InitParams extends Params
Holds the parameters for theputoperation.
-
-
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
-
-
Constructor Summary
Constructors Constructor Description InitParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCredentialDescription()StringgetCredentialName()StringgetPassphrase()If the passpharse is not set returns an empty string.StringgetRenewer()StringgetRetriever()StringgetTrustedRetriever()protected StringmakeRequest(boolean includePassword)Serializes the parameters into a MyProxy request.voidsetCredentialDescription(String description)voidsetCredentialName(String credentialName)voidsetRenewer(String renewer)voidsetRetriever(String retriever)voidsetTrustedRetriever(String trusted_retriever)-
Methods inherited from class org.globus.myproxy.Params
add, checkPassphrase, getLifetime, getUserName, makeRequest, setCommand, setLifetime, setPassphrase, setUserName, toString
-
-
-
-
Method Detail
-
setCredentialName
public void setCredentialName(String credentialName)
-
getCredentialName
public String getCredentialName()
-
setCredentialDescription
public void setCredentialDescription(String description)
-
getCredentialDescription
public String getCredentialDescription()
-
setRetriever
public void setRetriever(String retriever)
-
getRetriever
public String getRetriever()
-
setRenewer
public void setRenewer(String renewer)
-
getRenewer
public String getRenewer()
-
setTrustedRetriever
public void setTrustedRetriever(String trusted_retriever)
-
getTrustedRetriever
public String getTrustedRetriever()
-
getPassphrase
public String getPassphrase()
If the passpharse is not set returns an empty string.- Overrides:
getPassphrasein classParams
-
makeRequest
protected 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
-
-