org.globus.myproxy
Class ChangePasswordParams

java.lang.Object
  extended by org.globus.myproxy.Params
      extended by org.globus.myproxy.ChangePasswordParams
All Implemented Interfaces:
MyProxyConstants

public class ChangePasswordParams
extends Params

Holds the parameters for the changePassword operation.


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, CRLF, DEFAULT_LIFETIME, LIFETIME, MIN_PASSWORD_LENGTH, MYPROXY_PROTOCOL_VERSION, NEW_PHRASE, PASSPHRASE, RENEWER, RETRIEVER, TRUSTROOTS, USERNAME, VERSION, VOMSES, VONAME
 
Constructor Summary
ChangePasswordParams()
           
 
Method Summary
 java.lang.String getCredentialName()
           
 java.lang.String getNewPassphrase()
           
protected  java.lang.String makeRequest(boolean includePassword)
          Serializes the parameters into a MyProxy request.
 void setCredentialName(java.lang.String credentialName)
           
 void setNewPassphrase(java.lang.String newPassphrase)
           
 
Methods inherited from class org.globus.myproxy.Params
add, checkPassphrase, getLifetime, getPassphrase, getUserName, makeRequest, setCommand, setLifetime, setPassphrase, setUserName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangePasswordParams

public ChangePasswordParams()
Method Detail

setNewPassphrase

public void setNewPassphrase(java.lang.String newPassphrase)

getNewPassphrase

public java.lang.String getNewPassphrase()

setCredentialName

public void setCredentialName(java.lang.String credentialName)

getCredentialName

public java.lang.String getCredentialName()

makeRequest

protected java.lang.String makeRequest(boolean includePassword)
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


Copyright © 2012. All Rights Reserved.