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.
- See Also:
Cred
Constructor Summary |
CredGss(java.lang.String svcName,
com.sun.gssapi.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. |
CredGss(java.lang.String svcName,
java.lang.String mech,
int svcType,
int qop_num)
Constructor creates an instance of RPCSEC_GSS credential with
given service name, mechanism, service type and qop number. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
serviceType
public int serviceType
RPCSEC_GSS
public static final int RPCSEC_GSS
RPCSEC_GSS_DATA
public static final int RPCSEC_GSS_DATA
RPCSEC_GSS_INIT
public static final int RPCSEC_GSS_INIT
RPCSEC_GSS_CONTINUE_INIT
public static final int RPCSEC_GSS_CONTINUE_INIT
RPCSEC_GSS_DESTROY
public static final int RPCSEC_GSS_DESTROY
RPCSEC_GSS_VERS_1
public static final int RPCSEC_GSS_VERS_1
CredGss
public CredGss(java.lang.String svcName,
java.lang.String mech,
int svcType,
int qop_num)
throws java.io.IOException
- Constructor creates an instance of RPCSEC_GSS credential with
given service name, mechanism, service type and qop number.
- Parameters:
svcName
- the target service namemech
- the string format of mech oid; e.g. "1.2.3.4.5"svcType
- none, integrity or privacyqop_num
- the number of quality protection
CredGss
public CredGss(java.lang.String svcName,
com.sun.gssapi.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 namemech
- the GSS Oid object of the mechsvcType
- none, integrity or privacyqop_num
- the number of quality protection
getCred
public void getCred(Xdr x)