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
-
AuthUnix(Auth)
- Type-converter; Creates an authenticator of flavor AUTH_UNIX from a given authenticator of any type.
-
AuthUnix(int, String, int, int, int[])
- Creates an authenticator of flavor AUTH_UNIX.
-
getGid()
- Gets the authenticator's group identifier.
-
getGids()
- Gets the authenticator's additional group identifiers.
-
getMachineName()
- Gets the authenticator's machinename.
-
getTime()
- Gets the authenticator's timestamp.
-
getUid()
- Gets the authenticator's user identifier.
-
setGid(int)
- Sets the authenticator's group identifier.
-
setGids(int[])
- Sets the authenticator's additional group identifiers.
-
setMachineName(String)
- Sets the authenticator's machinename.
-
setTime(int)
- Sets the authenticator's timestamp.
-
setUid(int)
- Sets the authenticator's user identifier.
-
xdr_decode(XDRStream)
- Decodes an authenticator in compliance to RFC 1832 (XDR).
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.
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.
getTime
public int getTime()
- Gets the authenticator's timestamp.
- Returns:
- The authenticator's timestamp.
setTime
public void setTime(int time)
- Sets the authenticator's timestamp.
- Parameters:
- time - The authenticator's timestamp.
getMachineName
public String getMachineName()
- Gets the authenticator's machinename.
- Returns:
- The authenticator's machinename.
setMachineName
public void setMachineName(String name)
- Sets the authenticator's machinename.
- Parameters:
- name - The authenticator's machinename.
getUid
public int getUid()
- Gets the authenticator's user identifier.
- Returns:
- The authenticator's user identifier.
setUid
public void setUid(int uid)
- Sets the authenticator's user identifier.
- Parameters:
- uid - The authenticator's user identifier.
getGid
public int getGid()
- Gets the authenticator's group identifier.
- Returns:
- The authenticator's group identifier.
setGid
public void setGid(int gid)
- Sets the authenticator's group identifier.
- Parameters:
- gid - The authenticator's group identifier.
getGids
public int[] getGids()
- Gets the authenticator's additional group identifiers.
- Returns:
- The authenticator's additional group identifiers.
setGids
public void setGids(int gids[])
- Sets the authenticator's additional group identifiers.
- Parameters:
- gids - The authenticator's additional group identifiers.
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