netbula.ORPC
Class AuthUnix
- XDT
Use this class for UNIX authentication.
AuthUnix(String mname, int Uid, int Gid, int[] Gids)- Construct an AuthUnix Object.
|
AUTH_UNIX
public static final int AUTH_UNIX
AuthUnix
public AuthUnix(String mname,
int Uid,
int Gid,
int[] Gids)Construct an AuthUnix Object.
mname - client machine nameUid - Unix user idGid - Unix group idGids - List of group ids
getCred
public OpaAuth getCred()
throws XDRErrorConvert the credential to an OpaAuth object, which can be
transfered over the wire.
- getCred in interface Auth
setCred
public void setCred(OpaAuth oa)
throws XDRErrorConstruct Auth class from OpaAuth, which was received over the wire.
Basically, this method decodes the oa_data field of the oa object
back to the AuthUnix object.
- setCred in interface Auth