code: public void put(GSSCredential credential,
                      String username,
                      String passphrase,
                      int lifetime)
          throws MyProxyException {
          InitParams request = new InitParams();
          request.setUserName(username);
          request.setPassphrase(passphrase);
          request.setLifetime(lifetime);
          put(credential, request);
      }
docs: Delegate credentials to a MyProxy server.
  
  @param  credential
  The GSI credentials to use.
  @param  username
  The username to store the credentials under.
  @param  passphrase
  The passphrase to use to encrypt the stored
  credentials.
  @param  lifetime
  The maximum lifetime of credentials delegated by the server
  (in seconds).
  @exception MyProxyException
  If an error occurred during the operation.