All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class distinct.rpc.AuthUnix

java.lang.Object
   |
   +----distinct.rpc.Auth
           |
           +----distinct.rpc.AuthUnix

public class AuthUnix
extends Auth
Implements AUTH_UNIX authentication.

See Also:
Auth, AuthShort

Constructor Index

 o AuthUnix(Auth)
Type-converter; Creates an authenticator of flavor AUTH_UNIX from a given authenticator of any type.
 o AuthUnix(int, String, int, int, int[])
Creates an authenticator of flavor AUTH_UNIX.

Method Index

 o getGid()
Gets the authenticator's group identifier.
 o getGids()
Gets the authenticator's additional group identifiers.
 o getMachineName()
Gets the authenticator's machinename.
 o getTime()
Gets the authenticator's timestamp.
 o getUid()
Gets the authenticator's user identifier.
 o setGid(int)
Sets the authenticator's group identifier.
 o setGids(int[])
Sets the authenticator's additional group identifiers.
 o setMachineName(String)
Sets the authenticator's machinename.
 o setTime(int)
Sets the authenticator's timestamp.
 o setUid(int)
Sets the authenticator's user identifier.
 o xdr_decode(XDRStream)
Decodes an authenticator in compliance to RFC 1832 (XDR).

Constructors

 o AuthUnix
 public AuthUnix(int time,
                 String machname,
                 int uid,
                 int gid,
                 int gids[])
Creates an authenticator of flavor AUTH_UNIX.

Parameters:
time - The authenticator's timestamp.
machname - The authenticator's machinename.
uid - The authenticator's user identifier.
gid - The authenticator's group identifier.
gids - The authenticator's additional group identifiers.
 o AuthUnix
 public AuthUnix(Auth auth) throws RPCError
Type-converter; Creates an authenticator of flavor AUTH_UNIX from a given authenticator of any type.

Parameters:
auth - Authenticator of any type.

Methods

 o getTime
 public int getTime()
Gets the authenticator's timestamp.

Returns:
The authenticator's timestamp.
 o setTime
 public void setTime(int time)
Sets the authenticator's timestamp.

Parameters:
time - The authenticator's timestamp.
 o getMachineName
 public String getMachineName()
Gets the authenticator's machinename.

Returns:
The authenticator's machinename.
 o setMachineName
 public void setMachineName(String name)
Sets the authenticator's machinename.

Parameters:
name - The authenticator's machinename.
 o getUid
 public int getUid()
Gets the authenticator's user identifier.

Returns:
The authenticator's user identifier.
 o setUid
 public void setUid(int uid)
Sets the authenticator's user identifier.

Parameters:
uid - The authenticator's user identifier.
 o getGid
 public int getGid()
Gets the authenticator's group identifier.

Returns:
The authenticator's group identifier.
 o setGid
 public void setGid(int gid)
Sets the authenticator's group identifier.

Parameters:
gid - The authenticator's group identifier.
 o getGids
 public int[] getGids()
Gets the authenticator's additional group identifiers.

Returns:
The authenticator's additional group identifiers.
 o setGids
 public void setGids(int gids[])
Sets the authenticator's additional group identifiers.

Parameters:
gids - The authenticator's additional group identifiers.
 o xdr_decode
 public void xdr_decode(XDRStream xdrs) throws RPCError
Decodes an authenticator in compliance to RFC 1832 (XDR).

Parameters:
xdrs - The XDR input stream.
Overrides:
xdr_decode in class Auth

All Packages  Class Hierarchy  This Package  Previous  Next  Index