Class InitParams
java.lang.Object
org.globus.myproxy.Params
org.globus.myproxy.InitParams
- All Implemented Interfaces:
MyProxyConstants
- Direct Known Subclasses:
StoreParams
Holds the parameters for the
put operation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate Stringprivate StringFields 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 TypeMethodDescriptionIf the passpharse is not set returns an empty string.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 Params
add, checkPassphrase, getLifetime, getUserName, makeRequest, setCommand, setLifetime, setPassphrase, setUserName, toString
-
Field Details
-
retriever
-
renewer
-
credentialName
-
credentialDescription
-
trusted_retriever
-
-
Constructor Details
-
InitParams
public InitParams()
-
-
Method Details
-
setCredentialName
-
getCredentialName
-
setCredentialDescription
-
getCredentialDescription
-
setRetriever
-
getRetriever
-
setRenewer
-
getRenewer
-
setTrustedRetriever
-
getTrustedRetriever
-
getPassphrase
If the passpharse is not set returns an empty string.- Overrides:
getPassphrasein classParams
-
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
-