Class Params

    • Field Detail

      • username

        protected String username
      • passphrase

        protected String passphrase
      • lifetime

        protected int lifetime
        Defaults to DEFAULT_LIFETIME (12 hours).
    • Constructor Detail

      • Params

        public Params​(int command)
      • Params

        public Params​(int command,
                      String username,
                      String passphrase)
    • Method Detail

      • setCommand

        protected void setCommand​(int command)
      • setUserName

        public void setUserName​(String username)
      • getUserName

        public String getUserName()
      • setPassphrase

        public void setPassphrase​(String passphrase)
      • getPassphrase

        public String getPassphrase()
      • setLifetime

        public void setLifetime​(int seconds)
      • getLifetime

        public int getLifetime()
      • checkPassphrase

        protected void checkPassphrase​(String passphrase)
      • makeRequest

        public String makeRequest()
      • makeRequest

        protected String makeRequest​(boolean includePassword)
        Serializes the parameters into a MyProxy request. Subclasses should overwrite this function and append the custom parameters to the output of this function.