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.


Variable Index

 o AUTH_UNIX

Constructor Index

 o AuthUnix(String, int, int, int[])
Construct an AuthUnix Object.

Method Index

 o Clone()
 o getArray(int)
 o getCred()
Convert the credential to an OpaAuth object, which can be transfered over the wire.
 o setCred(OpaAuth)
Construct Auth class from OpaAuth, which was received over the wire.
 o xdr(XDR)

Variables

 o AUTH_UNIX
 public static final int AUTH_UNIX

Constructors

 o 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

Methods

 o 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
 o 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
 o xdr
 public void xdr(XDR xdrs) throws XDRError
 o Clone
 public XDT Clone()
 o getArray
 public XDT[] getArray(int len)

All Packages  Class Hierarchy  This Package  Previous  Next  Index