Package com.sun.rpc

Class CredGss

java.lang.Object
com.sun.rpc.Cred
com.sun.rpc.CredGss

public class CredGss extends Cred
The credential class for the RPCSEC_GSS security flavor.
Author:
Lin Ling
See Also:
  • Field Details

  • Constructor Details

    • CredGss

      public CredGss(String svcName, String mech, int svcType, int qop_num) throws IOException
      Constructor creates an instance of RPCSEC_GSS credential with given service name, mechanism, service type and qop number.
      Parameters:
      svcName - the target service name
      mech - the string format of mech oid; e.g. "1.2.3.4.5"
      svcType - none, integrity or privacy
      qop_num - the number of quality protection
      Throws:
      IOException
    • CredGss

      public CredGss(String svcName, Oid mech, int svcType, int qop_num)
      Constructor creates an instance of RPCSEC_GSS credential with given service name, mechanism, service type and qop number.
      Parameters:
      svcName - the target service name
      mech - the GSS Oid object of the mech
      svcType - none, integrity or privacy
      qop_num - the number of quality protection
  • Method Details

    • getCred

      public void getCred(Xdr x)