Class GetParams

  • All Implemented Interfaces:
    MyProxyConstants

    public class GetParams
    extends Params
    Holds the parameters for the get operation.
    • Field Detail

      • wantTrustroots

        private boolean wantTrustroots
      • credentialName

        private java.lang.String credentialName
      • authzcreds

        private org.ietf.jgss.GSSCredential authzcreds
      • voname

        private java.util.List voname
      • vomses

        private java.util.List vomses
    • Constructor Detail

      • GetParams

        public GetParams()
      • GetParams

        public GetParams​(java.lang.String username,
                         java.lang.String passphrase)
    • Method Detail

      • setCredentialName

        public void setCredentialName​(java.lang.String credentialName)
      • getCredentialName

        public java.lang.String getCredentialName()
      • setWantTrustroots

        public void setWantTrustroots​(boolean wantTrustroots)
      • getWantTrustroots

        public boolean getWantTrustroots()
      • setVoname

        public void setVoname​(java.util.List voname)
      • getVoname

        public java.util.List getVoname()
      • setVomses

        public void setVomses​(java.util.List vomses)
      • getVomses

        public java.util.List getVomses()
      • setAuthzCreds

        public void setAuthzCreds​(org.ietf.jgss.GSSCredential creds)
        Set credentials for renewal authorization.
        Parameters:
        creds - The credentials to renew.
      • getAuthzCreds

        public org.ietf.jgss.GSSCredential getAuthzCreds()
      • 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
      • add

        private void add​(java.lang.StringBuffer buf,
                         java.lang.String prefix,
                         java.util.List values)