All Packages Class Hierarchy This Package Previous Next Index
Class netbula.ORPC.AuthUnix
java.lang.Object
|
+----netbula.ORPC.Auth
|
+----netbula.ORPC.AuthUnix
- public class AuthUnix
- extends Auth
- implements XDT
Use this class for UNIX authentication.
-
AUTH_UNIX
-
-
AuthUnix(String, int, int, int[])
- Construct an AuthUnix Object.
-
Clone()
-
-
getArray(int)
-
-
getCred()
- Convert the credential to an OpaAuth object, which can be
transfered over the wire.
-
setCred(OpaAuth)
- Construct Auth class from OpaAuth, which was received over the wire.
-
xdr(XDR)
-
AUTH_UNIX
public static final int AUTH_UNIX
AuthUnix
public AuthUnix(String mname,
int Uid,
int Gid,
int Gids[])
- Construct an AuthUnix Object.
- Parameters:
- mname - client machine name
- Uid - Unix user id
- Gid - Unix group id
- Gids - List of group ids
getCred
public OpaAuth getCred() throws XDRError
- Convert the credential to an OpaAuth object, which can be
transfered over the wire.
- Overrides:
- getCred in class Auth
setCred
public void setCred(OpaAuth oa) throws XDRError
- Construct 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.
- Overrides:
- setCred in class Auth
xdr
public void xdr(XDR xdrs) throws XDRError
Clone
public XDT Clone()
getArray
public XDT[] getArray(int len)
All Packages Class Hierarchy This Package Previous Next Index