Package com.sun.rpc
Class CredGss
java.lang.Object
com.sun.rpc.Cred
com.sun.rpc.CredGss
The credential class for the RPCSEC_GSS security flavor.
- Author:
- Lin Ling
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
int
Fields inherited from class com.sun.rpc.Cred
SVC_INTEGRITY, SVC_NONE, SVC_PRIVACY
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor creates an instance of RPCSEC_GSS credential with given service name, mechanism, service type and qop number.Constructor creates an instance of RPCSEC_GSS credential with given service name, mechanism, service type and qop number. -
Method Summary
-
Field Details
-
serviceType
public int serviceType -
RPCSEC_GSS
public static final int RPCSEC_GSS- See Also:
-
RPCSEC_GSS_DATA
public static final int RPCSEC_GSS_DATA- See Also:
-
RPCSEC_GSS_INIT
public static final int RPCSEC_GSS_INIT- See Also:
-
RPCSEC_GSS_CONTINUE_INIT
public static final int RPCSEC_GSS_CONTINUE_INIT- See Also:
-
RPCSEC_GSS_DESTROY
public static final int RPCSEC_GSS_DESTROY- See Also:
-
RPCSEC_GSS_VERS_1
public static final int RPCSEC_GSS_VERS_1- See Also:
-
-
Constructor Details
-
CredGss
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- Throws:
IOException
-
CredGss
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
-
-
Method Details
-
getCred
-