| Modifier and Type | Field and Description |
|---|---|
static int |
RPCSEC_GSS |
static int |
RPCSEC_GSS_CONTINUE_INIT |
static int |
RPCSEC_GSS_DATA |
static int |
RPCSEC_GSS_DESTROY |
static int |
RPCSEC_GSS_INIT |
static int |
RPCSEC_GSS_VERS_1 |
int |
serviceType |
SVC_INTEGRITY, SVC_NONE, SVC_PRIVACY| Constructor and Description |
|---|
CredGss(java.lang.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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getCred(Xdr x)
Get creds from an XDR buffer
|
public int serviceType
public static final int RPCSEC_GSS
public static final int RPCSEC_GSS_DATA
public static final int RPCSEC_GSS_INIT
public static final int RPCSEC_GSS_CONTINUE_INIT
public static final int RPCSEC_GSS_DESTROY
public static final int RPCSEC_GSS_VERS_1
public CredGss(java.lang.String svcName,
java.lang.String mech,
int svcType,
int qop_num)
throws java.io.IOException
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 protectionjava.io.IOExceptionpublic CredGss(java.lang.String svcName,
Oid mech,
int svcType,
int qop_num)
svcName - the target service namemech - the GSS Oid object of the mechsvcType - none, integrity or privacyqop_num - the number of quality protection