Java Globus API: Class GetParams

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 the get operation.


Fields inherited from class org.globus.myproxy.Params
lifetime, passphrase, username
 
Fields inherited from interface org.globus.myproxy.MyProxyConstants
COMMAND, CRED_DESC, CRED_NAME, CRLF, LIFETIME, MIN_PASSWORD_LENGTH, MYPROXY_PROTOCOL_VERSION, NEW_PHRASE, PASSPHRASE, RENEWER, RETRIEVER, USERNAME, VERSION
 
Constructor Summary
GetParams()
           
GetParams(String username, String passphrase)
           
 
Method Summary
 String getCredentialName()
           
 String makeRequest()
          Serializes the parameters into a MyProxy request.
 void setCredentialName(String credentialName)
           
 
Methods inherited from class org.globus.myproxy.Params
add, checkPassphrase, getLifetime, getPassphrase, getUserName, setLifetime, setPassphrase, setUserName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetParams

public GetParams()

GetParams

public GetParams(String username,
                 String passphrase)
Method Detail

setCredentialName

public void setCredentialName(String credentialName)

getCredentialName

public String getCredentialName()

makeRequest

public String makeRequest()
Description copied from class: Params
Serializes the parameters into a MyProxy request. Subclasses should overwrite this function and append the custom parameters to the output of this function.
Overrides:
makeRequest in class Params