|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.distinct.rpc.Auth
|
+--com.distinct.rpc.AuthUnix
Implements AUTH_UNIX authentication.
Auth,
AuthShort,
Serialized Form| Constructor Summary | |
AuthUnix(Auth auth)
Type-converter; Creates an authenticator of flavor AUTH_UNIX from a given authenticator of any type. |
|
AuthUnix(int time,
java.lang.String machname,
int uid,
int gid,
int[] gids)
Creates an authenticator of flavor AUTH_UNIX. |
|
| Method Summary | |
int |
getGid()
Gets the authenticator's group identifier. |
int[] |
getGids()
Gets the authenticator's additional group identifiers. |
java.lang.String |
getMachineName()
Gets the authenticator's machinename. |
int |
getTime()
Gets the authenticator's timestamp. |
int |
getUid()
Gets the authenticator's user identifier. |
void |
setGid(int gid)
Sets the authenticator's group identifier. |
void |
setGids(int[] gids)
Sets the authenticator's additional group identifiers. |
void |
setMachineName(java.lang.String name)
Sets the authenticator's machinename. |
void |
setTime(int time)
Sets the authenticator's timestamp. |
void |
setUid(int uid)
Sets the authenticator's user identifier. |
void |
xdr_decode(XDRStream xdrs)
Decodes an authenticator in compliance to RFC 1832 (XDR). |
| Methods inherited from class com.distinct.rpc.Auth |
getAuthOpaque, getFlavor, setAuthOpaque, setFlavor, xdr_encode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthUnix(int time,
java.lang.String machname,
int uid,
int gid,
int[] gids)
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.
public AuthUnix(Auth auth)
throws RPCError
auth - Authenticator of any type.| Method Detail |
public int getTime()
public void setTime(int time)
time - The authenticator's timestamp.public java.lang.String getMachineName()
public void setMachineName(java.lang.String name)
name - The authenticator's machinename.public int getUid()
public void setUid(int uid)
uid - The authenticator's user identifier.public int getGid()
public void setGid(int gid)
gid - The authenticator's group identifier.public int[] getGids()
public void setGids(int[] gids)
gids - The authenticator's additional group identifiers.
public void xdr_decode(XDRStream xdrs)
throws RPCError
xdr_decode in interface XDRTypexdr_decode in class Authxdrs - The XDR input stream.
RPCError
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||