Credentialspublic class Credentials extends Object A class for representing UNIX credentials passed via ancillary data
on UNIX domain sockets. See "man 7 unix" on a desktop linux distro. |
Fields Summary |
---|
private final int | pidpid of process. root peers may lie. | private final int | uiduid of process. root peers may lie. | private final int | gidgid of process. root peers may lie. |
Constructors Summary |
---|
public Credentials(int pid, int uid, int gid)
this.pid = pid;
this.uid = uid;
this.gid = gid;
|
Methods Summary |
---|
public int | getGid()
return gid;
| public int | getPid()
return pid;
| public int | getUid()
return uid;
|
|